Skip to content

Commit

Permalink
Use the hidden feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Sep 14, 2023
1 parent 35334c1 commit bcf343c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ Encore
__VUE_OPTIONS_API__: true,
__VUE_PROD_DEVTOOLS__: false,
}))
.addAliases({
'@': [
path.resolve(__dirname, './sprinkle/assets'),
path.resolve(__dirname, './app/assets'),
]
})
// .configureDevServerOptions(options => {
// options.port = 8080;
// options.liveReload = true;
Expand All @@ -45,12 +51,4 @@ Encore
// })
;

// export the final configuration
let config = Encore.getWebpackConfig();
config.resolve.alias = {
'@': [
path.resolve(__dirname, './sprinkle/assets'),
path.resolve(__dirname, './app/assets'),
]
};
module.exports = config;
module.exports = Encore.getWebpackConfig();

0 comments on commit bcf343c

Please sign in to comment.