+ 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

23rd May 2020, 12:19 AM
Prosper Emebo
Prosper Emebo - avatar
3 Réponses
+ 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
23rd May 2020, 4:44 AM
Calviղ
Calviղ - avatar
0
I not using it on code playground, it on my computer
24th May 2020, 4:41 AM
Prosper Emebo
Prosper Emebo - avatar
0
But you said your babel and webpack are working fine?
24th May 2020, 6:02 AM
Calviղ
Calviղ - avatar