This is where I practice using webpack. I will try to explain what npm package I use and what it use for?
Package | Detail |
---|---|
webpack | webpack program |
Package | Detail |
---|---|
babel-loader | webpack loader |
babel-core | use for parsing, transforming, and generation code |
babel-preset-env | set of plugins to use in transforming process |
Package | Detail |
---|---|
css-loader | webpack loader use for reading css code that import to .js file |
style-loader | use for injecting css into html |
extract-text-webpack-plugin | use for bundle css file into single file |
Package | Detail |
---|---|
image-webpack-loader | webpack loader use for reading image files that import to .js file |
url-loader | use for adding public path url prefix to image file |
file-loader | use for url-loader |