We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f218a6 commit 0ef9841Copy full SHA for 0ef9841
packages/react-pages/package.json
@@ -39,6 +39,7 @@
39
"build-client": "tsc -p src/client",
40
"dev": "rimraf ./dist && concurrently \"npm:dev-*\"",
41
"dev-node": "tsc -w -p src/node",
42
+ "dev-node-esm": "rollup -c -w",
43
"dev-client": "tsc -w -p src/client",
44
"prepare": "npm run build"
45
},
packages/react-pages/rollup.config.js
@@ -26,8 +26,10 @@ export default {
26
format: 'esm',
27
sourcemap: true,
28
29
+ // keep using tsc to build dist/node (cjs version) instead of rollup for now...
30
+ // I prefer using tsc if possiable
31
// {
- // dir: 'dist-cjs',
32
+ // dir: 'dist/node',
33
// format: 'cjs',
34
// sourcemap: true,
35
// },
0 commit comments