Comments (9)
Well, if asset is not found then it's not present in webpack-assets.json
, which means you didn't place it there.
As for the exception I don't know what it means and it tells something about Babel and HMR
from webpack-isomorphic-tools.
Thank you. Any suggestions on how to put them there? the .scss files are being required in the components that are imported from node_modules.
from webpack-isomorphic-tools.
I've updated the docs:
https://github.com/halt-hammerzeit/webpack-isomorphic-tools#what-are-webpack-assetsjson
This section now contains the answer to your question.
Be there more questions - ask
from webpack-isomorphic-tools.
Also revise the "What's a module?" section as I've rewritten it too
https://github.com/halt-hammerzeit/webpack-isomorphic-tools#whats-a-module
from webpack-isomorphic-tools.
Thanks very much, that helps a lot. This may be a question more appropriate for the react-redux-universal guys, but do you know where do the arguments to the filter they have set up in their isomorphic tools config file get passed in from? Does isomorphic tools pick those up from the modules as they run through the loaders or do they come from the webpack config?
style_modules: {
extensions: ['less','scss'],
filter: function(module, regex, options, log) {
if (options.development) {
// in development mode there's webpack "style-loader",
// so the module.name is not equal to module.name
return WebpackIsomorphicToolsPlugin.style_loader_filter(module, regex, options, log);
} else {
// in production mode there's no webpack "style-loader",
// so the module.name will be equal to the asset path
return regex.test(module.name);
}
},
from webpack-isomorphic-tools.
As configuration section says
https://github.com/halt-hammerzeit/webpack-isomorphic-tools#configuration
module
is the module from webpack stats.
options are some options (described there too).
All these parameters are managed by webpack-isomorphic-tools
from webpack-isomorphic-tools.
@CalebEverett, did you ever get react-toolbox working on react-redux-universal-hot-example? Was it a webpack-isomorphic-tools configuration issue? I'm facing the same issue.
from webpack-isomorphic-tools.
No, sorry I couldn't figure it out and moved on and that was a while ago so
my memory on it isn't that great. One thing I remember working to solve the
asset not found issue a couple of other times was to change the environment
to production and build it all the way and then switch back to development.
On Tue, May 10, 2016 at 10:17 AM, Mohamed Khodeir [email protected]
wrote:
@CalebEverett https://github.com/CalebEverett, did you ever get
react-toolbox working on react-redux-universal-hot-example? Was it a
webpack-isomorphic-tools configuration issue? I'm facing the same issue.—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#24 (comment)
Caleb Everett
Career College of California
201 E. 4th Street, Suite 200
Santa Ana, CA 92701
(714) 243-8614 phone and fax
www.careercalifornia.edu
Facebook http://www.facebook.com/CareerCalifornia | Twitter
http://twitter.com/careercalif | LinkedIn
http://www.linkedin.com/company/941062 | G+
https://plus.google.com/b/104968762557101611990/104968762557101611990/posts
from webpack-isomorphic-tools.
One thing I remember working to solve the
asset not found issue a couple of other times was to change the environment
to production and build it all the way and then switch back to development.
Of course, because build it all the way
generates webpack-assets.json
which aren't generated in your development mode due to misconfiguration.
from webpack-isomorphic-tools.
Related Issues (20)
- Seems like my webpack.config.js file is getting ignored HOT 1
- Error while wepback build HOT 2
- Is it possible to have _style property in production using ExtractTextPlugin loader HOT 2
- webpack_asset_path is not defined HOT 3
- Keep getting errors module not defined and exports not defined HOT 9
- Ability to ignore warnings / errors HOT 6
- Ability to specify publicPath at runtime for server-side? HOT 1
- Inside CSS, background-url is packaged into absolute paths HOT 1
- Support for compression webpack plugin (js.gz) HOT 1
- Resolving webpack custom module paths HOT 1
- SyntaxError: Unexpected token < (skipping require call, fallback to original loader) HOT 5
- webpack-isomorphic-tools/plugin ReferenceError: window is not defined HOT 11
- Depreciation for webpack 4x HOT 2
- Clarification in README HOT 2
- mini-css-extract-plugin HOT 1
- anyway to define __webpack_public_path__ or cdn? HOT 15
- Webpack resolve extensions not working with SSR
- Babel 7 is not supported HOT 4
- (/config/webpack-assets.json not found) HOT 1
- Unexpected token less file HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpack-isomorphic-tools.