Skip to content

santinoDu/html-swig-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.Install npm i html-swig-loader -D

2.Inject <!--swig--> into your html file which use swig

3.Add 'html-swig-loader' to your html rules

rules: [
            {
                test: /\.html$/,
                use: ['html-loader', 'html-swig-loader']
            }
        ]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published