[Pkg-javascript-devel] rollup status: trying to build with webpack
Pirate Praveen
praveen at onenetbeyond.org
Sun Jan 7 14:59:06 UTC 2018
Hi,
While we are waiting for buble and rollup-plugin-buble, I thought of
building it with webpack since we already have it in the archive. It
gave a few warnings and an error. May be those who know webpack a bit
more can help fix this error. I have pushed the changes to webpack
branch in alioth. Build dep node-date-time is in salsa.
dh_auto_build
mkdir node_modules
ln -s .. node_modules/rollup
echo 0.50.0-1 > .commithash \
&& webpack --config debian/webpack.config.js --target node
src/node-entry.js dist/rollup.js \
&& webpack --config debian/webpack.config.js --target node
bin/src/index.js bin/rollup
Hash: a42a977faf4cb39b2d93
Version: webpack 3.5.6
Time: 5488ms
Asset Size Chunks Chunk Names
rollup.js 815 kB 0 [emitted] [big] main
[2] ./src/utils/object.js 567 bytes {0} [built]
[5] ./src/utils/error.js 537 bytes {0} [built]
[12] ./src/utils/path.js 379 bytes {0} [built]
[35] ./src/utils/promise.js 456 bytes {0} [built]
[47] ./src/rollup/index.js 6.18 kB {0} [built]
[48] ./src/utils/fs.js 542 bytes {0} [built]
[49] ./src/utils/sourceMappingURL.js 317 bytes {0} [built]
[91] ./src/watch/chokidar.js 182 bytes {0} [built]
[92] ./src/node-entry.js 161 bytes {0} [built]
[93] ./src/utils/validateKeys.js 290 bytes {0} [built]
[94] ./src/Bundle.js 22 kB {0} [built]
[191] ./src/watch/index.js 6.62 kB {0} [built]
[193] /usr/lib/nodejs/rollup-pluginutils/createFilter.js 972 bytes {0}
[built]
[265] ./src/watch/fileWatchers.js 2.22 kB {0} [built]
[268] ./package.json 2.74 kB {0} [built]
+ 254 hidden modules
WARNING in /usr/lib/nodejs/base/utils.js
3:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
WARNING in /usr/lib/nodejs/use/utils.js
3:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
WARNING in /usr/lib/nodejs/is-descriptor/utils.js
7:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
Hash: a5475be2dbeedc5d1ac5
Version: webpack 3.5.6
Time: 5256ms
Asset Size Chunks Chunk Names
rollup 832 kB 0 [emitted] [big] main
[8] ./bin/src/logging.js 1.04 kB {0} [built]
[21] /usr/lib/nodejs/source-map/source-map.js 404 bytes {0} [built]
[23] ./bin/src/run/batchWarnings.js 8.35 kB {0} [built]
[31] /usr/lib/nodejs/require-relative/index.js 810 bytes {0} [built]
[35] ./bin/src/run/mergeOptions.js 3.55 kB {0} [built]
[36] ./bin/src/run/loadConfigFile.js 1.53 kB {0} [built] [3 warnings]
[67] ./bin/src/index.js 874 bytes {0} [built]
[68] /usr/lib/nodejs/minimist/index.js 6.8 kB {0} [built]
[69] ./bin/src/help.md 272 bytes {0} [built] [failed] [1 error]
[70] ./package.json 2.74 kB {0} [built]
[71] ./bin/src/run/index.js 3.09 kB {0} [built]
[173] ./bin/src/utils/sequence.js 444 bytes {0} [built]
[174] ./bin/src/run/build.js 1.62 kB {0} [built]
[180] ./bin/src/run/watch.js 3.72 kB {0} [built]
[188] /usr/lib/nodejs/source-map-support/source-map-support.js 16.6 kB
{0} [optional] [built]
+ 174 hidden modules
WARNING in /usr/lib/nodejs/base/utils.js
3:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
WARNING in /usr/lib/nodejs/use/utils.js
3:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
WARNING in ./bin/src/run/loadConfigFile.js
40:16-35 Critical dependency: the request of a dependency is an expression
WARNING in /usr/lib/nodejs/is-descriptor/utils.js
7:34-41 Critical dependency: require function is used in a way in which
dependencies cannot be statically extracted
WARNING in ./bin/src/run/loadConfigFile.js
require.extensions is not supported by webpack. Use a loader instead.
@ ./bin/src/run/index.js 6:0-49
@ ./bin/src/index.js
WARNING in ./bin/src/run/loadConfigFile.js
require.extensions is not supported by webpack. Use a loader instead.
@ ./bin/src/run/index.js 6:0-49
@ ./bin/src/index.js
WARNING in ./bin/src/run/loadConfigFile.js
require.extensions is not supported by webpack. Use a loader instead.
@ ./bin/src/run/index.js 6:0-49
@ ./bin/src/index.js
ERROR in ./bin/src/help.md
Module parse failed:
/home/pravi/forge/debian/git/pkg-javascript/node-rollup/bin/src/help.md
Unexpected token (1:7)
You may need an appropriate loader to handle this file type.
| rollup version __VERSION__
| =====================================
|
@ ./bin/src/index.js 2:0-29
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180107/3737c546/attachment.sig>
More information about the Pkg-javascript-devel
mailing list