You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
In projects that have arcgis-webpack-plugin, the code gets compiled twice when ran with webpack-dev-server.
Expected Behavior
The code should only compile once.
Actual Behavior
Code is compiling twice (based on receiving two "Compiled successfully" messages) and longer build/serve process.
Possible Fix
I'm wondering if this is more of a dojo-webpack-plugin side effect. When testing with their demo project, the dual compilation occurs. But with projects without the webpack plugins for arcgis or dojo, it doesn't happen.
Note in the resulting output that there are two "Compiled successfully" messages
Context
It's more of an annoyance than a big problem. Slows down the build. And when using bundle analysis and build notification plugins, it causes duplications of those tasks.
Your Environment
Version used: 4.11.0
Browser Name and version: Chrome Version 75.0.3770.100 (64-bit)
Operating System and version (desktop or mobile): Windows 10
Description
In projects that have arcgis-webpack-plugin, the code gets compiled twice when ran with webpack-dev-server.
Expected Behavior
The code should only compile once.
Actual Behavior
Code is compiling twice (based on receiving two "Compiled successfully" messages) and longer build/serve process.
Possible Fix
I'm wondering if this is more of a dojo-webpack-plugin side effect. When testing with their demo project, the dual compilation occurs. But with projects without the webpack plugins for arcgis or dojo, it doesn't happen.
Steps to Reproduce
Context
It's more of an annoyance than a big problem. Slows down the build. And when using bundle analysis and build notification plugins, it causes duplications of those tasks.
Your Environment
The text was updated successfully, but these errors were encountered: