File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1515 "scripts" : {
1616 "clean" : " shx rm -rf dist" ,
1717 "build" : " run-s clean lib:js:build" ,
18+ "build:dev" : " run-s clean lib:js:build:dev" ,
1819 "dev" : " run-p lib:watch lib:test:watch" ,
1920 "serve" : " serve dist -p 8080" ,
20- "test" : " run-s build test:lib test:quickstart" ,
21+ "test" : " run-s build:dev test:lib test:quickstart" ,
2122 "test:lib" : " node ./test/test-runner.mjs" ,
2223 "test:quickstart" : " (cd examples/quickstart && pnpm install && npm run test)" ,
2324 "lint" : " prettier --write **/*.js **/*.ts **/*.json !build/**/* !dist/**/*" ,
Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ const libBundles = [
7272 input : "transform.ts" ,
7373 output : {
7474 file : "dist/transform.cjs.js" ,
75- format : "cjs"
75+ format : "cjs" ,
76+ sourcemap : sourcemapOption
7677 } ,
7778 external : [ "assemblyscript" , "visitor-as/as" ] ,
7879 plugins
@@ -81,7 +82,8 @@ const libBundles = [
8182 input : "transform.ts" ,
8283 output : {
8384 file : "dist/transform.amd.js" ,
84- format : "amd"
85+ format : "amd" ,
86+ sourcemap : sourcemapOption
8587 } ,
8688 external : [ "assemblyscript" , "visitor-as/as" ] ,
8789 plugins
You can’t perform that action at this time.
0 commit comments