0👍
Nevermind. I found the answer.
In your webpack.config.js file,
output: {
path: path.resolve( __dirname, './js' ),
filename: '[name].bundle.js',
publicPath: './wp-content/themes/dist/js/'
},
Source:stackexchange.com
0👍
Nevermind. I found the answer.
In your webpack.config.js file,
output: {
path: path.resolve( __dirname, './js' ),
filename: '[name].bundle.js',
publicPath: './wp-content/themes/dist/js/'
},