Add json parser to dist/ build (#2178)
This fixes the build, as shown by: yarn build yarn test --prod -- tests/json/master
parent
a42db30946
commit
d46b778dba
|
@ -30,6 +30,9 @@ node_modules/.bin/rollup -c scripts/build/rollup.parser.config.js --environment
|
|||
echo 'Bundling lib parse5...';
|
||||
node_modules/.bin/rollup -c scripts/build/rollup.parser.config.js --environment parser:parse5
|
||||
|
||||
echo 'Bundling lib json...';
|
||||
node_modules/.bin/rollup -c scripts/build/rollup.parser.config.js --environment parser:json
|
||||
|
||||
echo 'Bundling lib postcss...';
|
||||
# PostCSS has dependency cycles and won't work correctly with rollup :(
|
||||
./node_modules/.bin/webpack --hide-modules src/parser-postcss.js dist/parser-postcss.js
|
||||
|
@ -65,6 +68,9 @@ node_modules/.bin/rollup -c scripts/build/rollup.docs.config.js --environment fi
|
|||
echo 'Bundling docs parse5...';
|
||||
node_modules/.bin/rollup -c scripts/build/rollup.docs.config.js --environment filepath:parser-parse5.js
|
||||
|
||||
echo 'Bundling docs json...';
|
||||
node_modules/.bin/rollup -c scripts/build/rollup.docs.config.js --environment filepath:parser-json.js
|
||||
|
||||
echo;
|
||||
|
||||
## --- Misc ---
|
||||
|
|
Loading…
Reference in New Issue