1.0.0 • Published 7 years ago

html-swig-loader v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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']
            }
        ]