rikschennink / conditioner-boilerplate-webpack Goto Github PK
View Code? Open in Web Editor NEWA webpack boilerplate for Conditioner.
Home Page: https://github.com/rikschennink/conditioner
License: MIT License
A webpack boilerplate for Conditioner.
Home Page: https://github.com/rikschennink/conditioner
License: MIT License
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
I'm getting the message "Cannot find module '././monitors/media'" when using a media condition.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.