All Questions
714
questions
5
votes
0
answers
156
views
Can HotModuleReplacement run on different url? / instead of /webpack-dev-server/?
We are working a lot with react and hot module replacement and it is a pleasure to work with. But how can I start HotModuleReplacement in the bundle by default when someone accesses / or any other url?...
0
votes
1
answer
116
views
webpack-dev-server & jsxhint: const '$__0' has already been declared
Somehow, it seems jsxhint is analysing the compiled files by webpack when I run the following command
webpack-dev-server --devtool eval --colors --progress --content-base ./build
I get these ...
2
votes
2
answers
1k
views
Webpack-dev-server and isomorphic react-node application
I've managed to properly use webpack dev server alongside with a node server (express), using the plugin section inside webpack's config.
It all works fine but now I'm trying to go isomorphic and use ...
0
votes
1
answer
667
views
WebPack and react-hot module with babel and ES6 doesn't update page on save
I have some files Typescrypt->ES6->React JSX (ES6)->Webpack (with react-hot and babel),
react-hot does not refresh page
One is some sort of code behide PersonDetailsComponent.cb.js
(compiled from ...
7
votes
0
answers
2k
views
Plug webpack-dev-server and hot-load React with Tomcat
I'm developing inside ecosystem that uses Tomcat server that servers all the files both java and javascript but the I run the javascript first through WebPack.
Is there any way that I can use ...
4
votes
3
answers
4k
views
webpack and react jsx - hot loading not working with docker container
Changed to: hot loading does not work in docker and it looks like it is a docker issue.
Following this: React with webpack or this React hot loader on local host machine they work fine and to me, ...
0
votes
0
answers
800
views
HTML doesn't load webpack-built files
My build on webpack-dev-server works fine, but when I compile with NODE_ENV=production webpack --config html file outputs blank page.
In dev-server html I load files this way
<script src="http://...
10
votes
2
answers
10k
views
React-Style, Webpack, React - Uncaught Error: Invariant Violation: The `style` prop
I'm getting the following error in my browser:
Uncaught Error: Invariant Violation: The style prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: ...
1
vote
1
answer
745
views
React-Style not working with webpack-dev-server. Style not extracted. Getting 'Invariant Violation: _registerComponent(...): Target
If I run webpack-dev-server and then go to localhost:8080, my app loads with styling. However, the CSS style shows up on the "style" attribute of the individual divs instead of within the header, ...