+ 2
Javascript Babel and Webpack
I tried exporting my modules like this https://code.sololearn.com/W6C112xNesm5/#js but it didn't compile my babel and webpack are working fine Please can someone help me out
3 Respostas
+ 2
You mean you want your webpack import/export modules run from Sololearn? 😮
Code playground does not come with file system and command line terminal, thus Webpack cannot be processed from code playground.
If you really want to to run your tested code with Webpack, you can copy the Webpack generated bundle.js to code playground, it should be working fine over there.
Here i created the bundle.js according to your codes, and run from code playground, please check it out
https://code.sololearn.com/W7k3Eyfa3rEZ/?ref=app
Source and webpack.config.js here https://glitch.com/~cv2k10-webpack-bundlejs
0
I not using it on code playground, it on my computer
0
But you said your babel and webpack are working fine?