[Pkg-javascript-devel] Webpack 4 transition plan
Pirate Praveen
praveen at onenetbeyond.org
Sun Jul 28 17:02:27 BST 2019
On 2019, ജൂലൈ 28 10:45:47 AM IST, Pirate Praveen <praveen at onenetbeyond.org> wrote:
>Hi,
>
>All dependencies for webpack 4.0 are ready in experimental or in git.
>Some tests are failing, which needs a closer look. Help is welcome to
>fix test failures. This is possibly a mocha compatibility issue as
>webpack needs mocha 3 and we are already on mocha 4.
With tests disabled (DEB_BUILD_OPTIONS=nocheck ) I was able to build and install webpack 4.0
>Once we fix the tests, we should check all packages now building with
>webpack 3 can be built with webpack 4 as well.
While trying to build node-d3-force I got
webpack --config debian/webpack.config.js \ --output-library=d3 \ index.js build/d3-force.js Insufficient number of arguments or no entry found. Alternatively, run 'webpack(-cli) --help' for usage info. Hash: 057b6f22e319e519204a Version: webpack 4.0.0 Time: 88ms Built at: 28/7/2019 5:55:18 pm WARNING in configuration The 'mode' option has not been set. Set 'mode' option to 'development' or 'production' to enable defaults for this environment. ERROR in Entry module not found: Error: Can't resolve './src' in '/home/praveen/forge/node-d3-force'
I think all reverse dependencies will need updating as "mode" seems mandatory.
Feel free to try it out and help with updating reverse dependencies.
>Going more recent 4.x requires some new packages (web assembly and
>likely babel 7) so we are more likely to get entangled in other
>transitions (hence started with 4.0). Help in updating/packaging is
>welcome here too.
>
>Thanks
>Praveen
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
More information about the Pkg-javascript-devel
mailing list