diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 850e6d9cf..3ff7e3ae1 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -120,8 +120,8 @@ task( series( "lint", "lint-json", - "copy-src-contents", - "transpile-ts", + // "copy-src-contents", + // "transpile-ts", "webpack", "static", "sass", @@ -134,8 +134,8 @@ task( series( "lint", "lint-json", - "copy-src-contents", - "transpile-ts", + // "copy-src-contents", + // "transpile-ts", "webpack-production", "static", "sass", @@ -147,7 +147,12 @@ task("watch", function () { watch("./src/styles/**/*.scss", series("sass")); watch( ["./src/scripts/**/*.js", "./src/scripts/**/*.ts"], - series("lint", "copy-src-contents", "transpile-ts", "webpack") + series( + "lint", + // "copy-src-contents", + // "transpile-ts", + "webpack" + ) ); watch("./static/**/*.*", series("lint-json", "static")); }); diff --git a/frontend/webpack-production.config.js b/frontend/webpack-production.config.js index 36c8bb027..836495592 100644 --- a/frontend/webpack-production.config.js +++ b/frontend/webpack-production.config.js @@ -5,7 +5,7 @@ let circularImportNum = 0; module.exports = { mode: "production", - entry: path.resolve(__dirname, "dist/index.js"), + entry: path.resolve(__dirname, "src/srcipts/index.js"), resolve: { fallback: { crypto: require.resolve("crypto-browserify"), diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 4a1970345..771ba9d06 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -6,7 +6,7 @@ let circularImportNum = 0; module.exports = { mode: "development", // Change to 'production' for production devtool: false, - entry: path.resolve(__dirname, "dist/index.js"), + entry: path.resolve(__dirname, "src/scripts/index.js"), resolve: { fallback: { crypto: require.resolve("crypto-browserify"),