webpack-encore
webpack-encore copied to clipboard
A simple but powerful API for processing & compiling assets built around Webpack
encore config: ``` const Encore = require('@symfony/webpack-encore'); if (!Encore.isRuntimeEnvironmentConfigured()) { Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev'); } Encore .setOutputPath('public/build/') .setPublicPath('/build') .addEntry('app', './assets/js/main.js') .splitEntryChunks() .enableSingleRuntimeChunk() .cleanupOutputBeforeBuild() .enableBuildNotifications() .enableSourceMaps(!Encore.isProduction()) .enableVersioning(Encore.isProduction()) .configureFilenames({ js: `[name].[chunkhash].js` }) .copyFiles([{...
Hello, I bought several template themes and both are coming with their dependencies & images... Some of theme even include a package.json file. So now, what is the best way...
Hello, I spent days trying to figure out the root cause of an issue I have. After reviewing all similar issues I decided to post details here. Let me know...
Hello, I am using webpack encore with bootstrap, jQuery and a vendor template theme. This theme brings me configurable SASS files so I copied it in a assets/vendor folder. On...
Hello, I'm trying to watch certain php and twig files in my app file (this is a non symfony project) Within devServer I should be able to use the before...
https://github.com/webpack-contrib/webpack-bundle-analyzer enables developers to analyze what's inside their bundles. It's a great way to identify huge dependencies that slow down the app's loading time. I believe it would be a...
My goal is to copy all images inside my "assets/images" folder to "build/images" in an optimized version. The copy works fine, but the optimize not. I tried different ways but...
I'm not sure whether this is related to anything in the upgrade of Encore, Webpack or any related dependency, but I'm curious if any of you might know what might...
**version(s) affected:** "@symfony/webpack-encore": "^1.0.0" When use **encore dev-server** or **yarn run build** with IE 11 ( i know my company is old school) transpilation code not work for vuejs. With...
It was pretty simple to add so I'm adding this here both for documentation purposes, but also this is probably something really helpful to enable by default if you use...