1.0.0 • Published 7 years ago
html-swig-loader v1.0.0
html-swig-loader
A webpack loader can resolve html file use swig engine to html file, there is no need to change filename to swig or others, just html
Usage
1.insert in your html file which use swig
2.add 'html-swig-loader' to your html rules
rules: [
{
test: /\.html$/,
use: ['html-loader', 'html-swig-loader']
}
]
1.0.0
7 years ago