File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 15
15
"scripts" : {
16
16
"clean" : " shx rm -rf dist" ,
17
17
"build" : " run-s clean lib:js:build" ,
18
+ "build:dev" : " run-s clean lib:js:build:dev" ,
18
19
"dev" : " run-p lib:watch lib:test:watch" ,
19
20
"serve" : " serve dist -p 8080" ,
20
- "test" : " run-s build test:lib test:quickstart" ,
21
+ "test" : " run-s build:dev test:lib test:quickstart" ,
21
22
"test:lib" : " node ./test/test-runner.mjs" ,
22
23
"test:quickstart" : " (cd examples/quickstart && pnpm install && npm run test)" ,
23
24
"lint" : " prettier --write **/*.js **/*.ts **/*.json !build/**/* !dist/**/*" ,
Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ const libBundles = [
72
72
input : "transform.ts" ,
73
73
output : {
74
74
file : "dist/transform.cjs.js" ,
75
- format : "cjs"
75
+ format : "cjs" ,
76
+ sourcemap : sourcemapOption
76
77
} ,
77
78
external : [ "assemblyscript" , "visitor-as/as" ] ,
78
79
plugins
@@ -81,7 +82,8 @@ const libBundles = [
81
82
input : "transform.ts" ,
82
83
output : {
83
84
file : "dist/transform.amd.js" ,
84
- format : "amd"
85
+ format : "amd" ,
86
+ sourcemap : sourcemapOption
85
87
} ,
86
88
external : [ "assemblyscript" , "visitor-as/as" ] ,
87
89
plugins
You can’t perform that action at this time.
0 commit comments