I have encountered an issue with webpack Chunk. I have already installed "@babel/plugin-syntax-dynamic-import". Below is my configuration and import() code. Despite this, only the entry index.js file is being generated in the output folder. What could I be missing? Why isn't the chunk file 'about.bundle.js' being generated?
I am using vue 2 and webpack 4
Here's a snippet from my vue router index.js:
component: () => import(/* webpackChunkName: "about" */'../views/HelloVue/components/About/about')
This is how my Webpack.config.js looks like:
output: {
path: path.resolve("../web"),
filename: "./js/[name].js",
chunkFilename: './js/[name].bundle.js',
}