I am working on an application and using Webpack to serve the build files.
In the Chrome developer tools -> Sources, I am not getting the folder tree as expected.
Here’s the actual folder structure being generated Image
And I want bbrt folder to be under localhost:8080 but it’s being generated separate.
Here’s the webpack output config
<code>output : {
filename: [name].bundle.js,
path: path.resolve(__dirname, './dist/bbrt'),
publicPath: '/'
}
</code>
<code>output : {
filename: [name].bundle.js,
path: path.resolve(__dirname, './dist/bbrt'),
publicPath: '/'
}
</code>
output : {
filename: [name].bundle.js,
path: path.resolve(__dirname, './dist/bbrt'),
publicPath: '/'
}
I couldn’t post the whole file as I work on a VDI machine.