Comments (5)
As soon as i'm back from vacation
from twing-loader.
yes this is indeed a quick and imperfect Twing loader implementation. Using the result of previous loaders is apparently more complicated than it seems because of the fact that Twig requires file names for many features. If you can think of a fix, feel free to submit a PR :)
from twing-loader.
@ryuran could you please provide an example of webpack config that fails? I'd like to add it the the integration test suite of my loader - and hopefully next version of this one.
It uses the source parameter to compile the template:
https://github.com/ericmorand/twing-loader/blob/master/src/index.ts
But I still need to test it with your config - or a relevant subset of it.
from twing-loader.
@ryuran Could you give twing-loader@2 a try?
from twing-loader.
ho damn. my vacation wasn't so long…
I don't work anymore with twig/twing.
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
- Webpack do not reload page when Twig template is edited HOT 4
- 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.