Skip to content

Change webpack back to only one NODE_ENV case#8

Open
milafrerichs wants to merge 2 commits into
masterfrom
fix-webpack-config
Open

Change webpack back to only one NODE_ENV case#8
milafrerichs wants to merge 2 commits into
masterfrom
fix-webpack-config

Conversation

@milafrerichs

Copy link
Copy Markdown
Contributor

What does this PR do?

Changes the webpack.config.js to it's original intend. Adding css stuff and changing order of the entry points.

Changes

revert back to one module.export and only change variables for
production. otherwise leave the config as it for the default case
(development|test)
set DEFAULT_CONTEXT to / for less opinionated version

revert back to one module.export and only change variables for
production. otherwise leave the config as it for the default case
(development|test)
set DEFAULT_CONTEXT to / for less opinionated version
@francbartoli

Copy link
Copy Markdown
Member

Artifacts are injected twice in the html template:

should not be there.

<link href="/mapreacter/css/Client.css" rel="stylesheet"><link href="/mapreacter/css/sdk.css" rel="stylesheet"><link href="/mapreacter/css/Client.min.css" rel="stylesheet"><link href="/mapreacter/css/sdk.min.css" rel="stylesheet"><script type="text/javascript" src="/mapreacter/Client.min.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants