File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 3030 "access" : " public"
3131 },
3232 "scripts" : {
33- "build" : " npm run build:res && snowpack build" ,
34- "build:res" : " rescript build" ,
35- "clean" : " npm run clean:res" ,
36- "clean:res" : " rescript clean" ,
33+ "build" : " snowpack build" ,
34+ "clean" : " rescript clean" ,
3735 "start" : " snowpack dev" ,
3836 "test" : " web-test-runner \" src/**/__tests__/*.bs.js\" "
3937 },
4341 "react-dom" : " ^17.0.2"
4442 },
4543 "devDependencies" : {
44+ "@jihchi/plugin-rescript" : " ^1.0.0" ,
4645 "@snowpack/plugin-dotenv" : " ^2.1.0" ,
4746 "@snowpack/plugin-react-refresh" : " ^2.4.2" ,
48- "@snowpack/plugin-run-script" : " ^2.3.0" ,
4947 "@snowpack/web-test-runner-plugin" : " ^0.2.2" ,
5048 "@testing-library/react" : " ^11.2.6" ,
5149 "@web/test-runner" : " ^0.12.19" ,
5250 "chai" : " ^4.3.4" ,
5351 "rescript" : " ^9.1.1" ,
54- "snowpack" : " ^3.3.3 "
52+ "snowpack" : " ~3.0 "
5553 }
5654}
Original file line number Diff line number Diff line change @@ -8,13 +8,7 @@ module.exports = {
88 plugins : [
99 '@snowpack/plugin-react-refresh' ,
1010 '@snowpack/plugin-dotenv' ,
11- [
12- '@snowpack/plugin-run-script' ,
13- {
14- cmd : 'npm run build:res' ,
15- watch : '$1 -- -w' ,
16- } ,
17- ] ,
11+ '@jihchi/plugin-rescript' ,
1812 ] ,
1913 packageOptions : {
2014 /* ... */
You can’t perform that action at this time.
0 commit comments