avaly / dust-loader Goto Github PK
View Code? Open in Web Editor NEWdust loader module for webpack
License: MIT License
dust loader module for webpack
License: MIT License
It doesn't look like the compiled file requires the partial automatically. I have to workaround it by manually importing it.
Branch | Build failing π¨ |
---|---|
Dependency | husky |
Current Version | 0.13.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As husky is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 9 commits .
4b5011e
0.13.3
6b92bb8
Comments
c6f8bb1
0.13.3-0
a2da709
Prefer nvm over Node global install
652c7f0
Update README.md
d05a7b3
Update README.md
0bb5798
Fix tests
7af95d3
update failure message (#107)
be435ca
Update CHANGELOG.md
See the full diff.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Doesn't work.
tpl.dust
<h1>Hello, {name}</h1>
webpack.config
entry: {
'index': './assets/js/index.dust.js',
module: {
loaders: [
{
test: /\.dust$/,
loader: 'dust-loader'
},
index.dust.js
'use strict';
const dust = require('dustjs-linkedin');
const tpl = require('../../views/tpl.dust');
Error In browser:
tpl.dust:1 Uncaught ReferenceError: dust is not defined
Compiled to and error is thrown here, there is no dust
here:
module.exports = (function(dust){dust.register("views\/tpl",body_0);function body_0(chk,ctx){return chk.w("<h1>Hello, ").f(ctx.get(["name"], false),ctx,"h").w("</h1>");}body_0.__dustBody=!0;return body_0}(dust));
/*****************
** WEBPACK FOOTER
** ./views/tpl.dust
** module id = 7
** module chunks = 0
**/
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.