Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Jongejan committed Oct 20, 2021
1 parent a08339b commit 9e3d208
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,6 @@ export default function (options) {
inject: [join(files, "shims.js")],
platform: "node",
target: "node16",
// format:'esm',
// plugins: [
// {
// name: 'fix-middlewares-exclude',
// setup(build) {
// // Match an import of "middlewares.js" and mark it as external
// const internal_middlewares_path = resolve(join(dirs.tmp,'middlewares.js'));
// const build_middlewares_path = resolve(dir, 'middlewares.js');
// build.onResolve({ filter: /\/middlewares\.js$/ }, ({ path, resolveDir }) => {
// const resolved = resolve(resolveDir, path);
// if (resolved === internal_middlewares_path || resolved === build_middlewares_path) {
// return { path: './middlewares.js', external: true };
// }
// });
// }
// }
// ]
};

const build_options =
Expand Down

0 comments on commit 9e3d208

Please sign in to comment.