GithubHelp home page GithubHelp logo

rikschennink / conditioner-boilerplate-webpack Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 82 KB

A webpack boilerplate for Conditioner.

Home Page: https://github.com/rikschennink/conditioner

License: MIT License

JavaScript 100.00%
conditioner webpack responsive mediaquery es6 module-loader

conditioner-boilerplate-webpack's People

Contributors

rikschennink avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jahmbo

conditioner-boilerplate-webpack's Issues

Bug when using Hot Module Replacement

I'm not sure if this is an issue with conditioner or a webpack settings issue.

When saving an inner module it seems to not get the correct path when reloading. It seems to add a new ./ui and .js so conditioner can't find the module.

log.js:24 [HMR] Waiting for update signal from WDS...
log.js:24 [HMR] Waiting for update signal from WDS...
component.js:2 Component mounted on <div data-module=​"component" data-context=​"@media (min-width:​30em)​">​Component mounted​</div>​
client:85 [WDS] Hot Module Replacement enabled.
client?cf3d:85 [WDS] Hot Module Replacement enabled.
"--- Initial console Looks fine--- "

"--- Updated ui/component.js console output ---"
client:88 [WDS] App updated. Recompiling...
client?cf3d:88 [WDS] App updated. Recompiling...
client:88 [WDS] App updated. Recompiling...
client?cf3d:88 [WDS] App updated. Recompiling...
client:271 [WDS] App hot update...
log.js:24 [HMR] Checking for updates on the server...
client?cf3d:271 [WDS] App hot update...
log.js:24 [HMR] Updated modules:
log.js:24 [HMR]  - ./src/ui/component.js
log.js:24 [HMR]  - ./src lazy recursive ^.*$
log.js:24 [HMR]  - ./src/app.js
log.js:24 [HMR] App is up to date.
conditioner-core.esm.js:78 Uncaught (in promise) Error: Conditioner: Error: Cannot find module './ui/./ui/component.js.js'

I created a fork if you want to see it in action. https://github.com/knynkwl/conditioner-boilerplate-webpack

WebPack 5 support

Hi @rikschennink ,

I'm having some issues trying to make this work with WebPack 5. I see is this boilerplate project was created for WebPack 2. Is it supposed to work with WebPack 5 too?

Thanks, kind regards,
Emilio

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.