mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
removed transpile step
This commit is contained in:
parent
6a7f7b3b99
commit
f9edda5412
3 changed files with 12 additions and 7 deletions
|
@ -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"));
|
||||
});
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue