Comments (4)
sorry it works fine.
from twing-loader.
Good. Can you explain what happened? Was it a misconfiguration?
from twing-loader.
Clearly, I don't know. I bet on an human mistake.
- file not save
- looking on an old page of previous dev-server off
- looking on prod instead of dev server
from twing-loader.
Ok, good to see that it works. Actually twing-loader only adds a dependency explicitely : the environment module path. All other dependencies (aka the templates coming from include, import...) are required and then resolved by the loader. It should be enough for webpack to consider them as a dependency and watch them. But it's not enough, let me know and I'll have then explicitly declared as dependency.
As said earlier, i'm.quiye new at writing webpack loaders. So don't hesitate if you see things that don't work as expected or could be improved.
from twing-loader.
Related Issues (20)
- Error when resolving environmentModulePath HOT 3
- Possible to use namespaces in browser? HOT 11
- Windows compatibility HOT 5
- Migrate to Twing@3
- twing-loader is not compatible with Twing@4 HOT 2
- How to use with html-webpack-plugin HOT 2
- Update variables in "renderContext"
- npm prepare script should be used instead of prepack
- Catch Twing errors and emit them with Webpack API HOT 2
- Warnings with webpack 5 and HtmlWebpackPlugin
- Webpack 5 support HOT 1
- Using with Storybook HTML (which doesn't seem to like promises) HOT 3
- Feature request: option to render templates surrounded by HTML comments indicating Twig file's path
- Loading templates from string HOT 2
- How to force new TwingEnvironment when loading through webpack? HOT 1
- interpolation in include statements
- `source` function is not supported
- twing-loader is not compatible with Twing@6 HOT 2
- Improve the README
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 twing-loader.