Giter Club home page Giter Club logo

Comments (9)

catamphetamine avatar catamphetamine commented on May 18, 2024

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.

CalebEverett avatar CalebEverett commented on May 18, 2024

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.

catamphetamine avatar catamphetamine commented on May 18, 2024

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.

catamphetamine avatar catamphetamine commented on May 18, 2024

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.

CalebEverett avatar CalebEverett commented on May 18, 2024

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.

catamphetamine avatar catamphetamine commented on May 18, 2024

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.

Khodeir avatar Khodeir commented on May 18, 2024

@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.

CalebEverett avatar CalebEverett commented on May 18, 2024

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.

catamphetamine avatar catamphetamine commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.