I've been creating a basic website and have been working on the front end. And I preview it using the mand npm start
.
In my directory, I have these files
app.js
app.scss
index.html
package-lock.json
package.json
webpack.config.js
It's time for me to tie it in with my backend (Flask and Python programs), and I think I need to pile everything to get bundle.css and bundle.js files. However, I cannot seem to find the mand to pile everything and generate these files. I assume they would be some npm mand. Thanks a lot in advance!
I've been creating a basic website and have been working on the front end. And I preview it using the mand npm start
.
In my directory, I have these files
app.js
app.scss
index.html
package-lock.json
package.json
webpack.config.js
It's time for me to tie it in with my backend (Flask and Python programs), and I think I need to pile everything to get bundle.css and bundle.js files. However, I cannot seem to find the mand to pile everything and generate these files. I assume they would be some npm mand. Thanks a lot in advance!
Share Improve this question asked Jul 18, 2018 at 2:05 Paulo CostaPaulo Costa 1,6553 gold badges15 silver badges17 bronze badges1 Answer
Reset to default 5You should try these bundler libraries. Read the documentation and follow the required format.
- Webpack: https://webpack.js/
- ParcelJS: https://parceljs/