My files show as being emitted but they are not actually being copied to dist folder.
Excerpt of compilation log:
Version: webpack 4.15.1 Time: 1824ms Built at: 01/29/2020 3:51:51 PM Asset Size Chunks Chunk Names main.js 116 KiB 0 [emitted] main CSS/main.css 76 bytes [emitted] Images/Uplink_Logo_Horiz.jpg 651 KiB [emitted] [big] CSS/adminlte.css 708 KiB [emitted] [big] index.html 6.7 KiB [emitted]
And my webpack config plugin looks like this:
plugins: [ new CopyWebpackPlugin([ { from: './Images/**', to: path.join(__dirname, 'dist'), logLevel: 'trace' }, { from: './CSS/**', to: path.join(__dirname, 'dist'), logLevel: 'trace' } ]), new HtmlWebpackPlugin({ template: './src/index.html' }) ],
I tried changing the order of CopyWebpackPlugin & HtmlWebpackPlugin to no luck. Did you do any other thing to solve this other than just changing the order.
Versions:
"vue": "^2.6.11", "webpack": "^4.15.0", "webpack-cli": "^3.0.8", "copy-webpack-plugin": "^5.1.1", "html-webpack-plugin": "^3.2.0",
Updated Image: Full project structure: