removed transpile step

This commit is contained in:
Miodec 2022-02-12 16:40:59 +01:00
parent 6a7f7b3b99
commit f9edda5412
3 changed files with 12 additions and 7 deletions

View file

@ -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"));
});

View file

@ -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"),

View file

@ -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"),