Skip to content

Commit

Permalink
Remove SystemJS loader from Webpack builds
Browse files Browse the repository at this point in the history
  • Loading branch information
steverep committed Oct 16, 2023
1 parent 88d14cd commit 02dc254
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-scripts/gulp/gather-static.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import fs from "fs-extra";
import gulp from "gulp";
import path from "path";
import paths from "../paths.cjs";
import env from "../env.cjs";

const npmPath = (...parts) =>
path.resolve(paths.polymer_dir, "node_modules", ...parts);
Expand Down Expand Up @@ -62,6 +63,9 @@ function copyPolyfills(staticDir) {
}

function copyLoaderJS(staticDir) {
if (!env.useRollup()) {
return;
}
const staticPath = genStaticPath(staticDir);
copyFileDir(npmPath("systemjs/dist/s.min.js"), staticPath("js"));
copyFileDir(npmPath("systemjs/dist/s.min.js.map"), staticPath("js"));
Expand Down

0 comments on commit 02dc254

Please sign in to comment.