Initial commit
This commit is contained in:
commit
2623567566
13 changed files with 48953 additions and 0 deletions
12
webpack.config.js
Normal file
12
webpack.config.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
let Encore = require("@symfony/webpack-encore");
|
||||
|
||||
Encore.disableSingleRuntimeChunk()
|
||||
.setOutputPath("web/build/")
|
||||
.setPublicPath("/build")
|
||||
.addStyleEntry("app", "./assets/css/tailwind.pcss")
|
||||
.enablePostCssLoader();
|
||||
|
||||
process.env.NODE_ENV =
|
||||
process.env.NODE_ENV || Encore.isProduction() ? "production" : "development";
|
||||
|
||||
module.exports = Encore.getWebpackConfig();
|
||||
Reference in a new issue