diff --git a/js/webpack.config.js b/js/webpack.config.js index c60f30b..690f3cb 100644 --- a/js/webpack.config.js +++ b/js/webpack.config.js @@ -1,5 +1,11 @@ +const path = require('path'); const config = require('flarum-webpack-config'); -module.exports = config({ - useExtensions: ['js'], -}); \ No newline at end of file +module.exports = config( + { + useExtensions: ['js'], + }, + { + root: path.resolve(__dirname, '..'), + } +); \ No newline at end of file