Skip to content

TokugawaTakeshi/Issues-WebpackPugPlugin

Repository files navigation

The repository for discussion webdiscus/pug-loader#16

Experiment flow

Step 1: Build the application with "pug-plain-loader" and "html-loader"

npm run build:dev

Open Build/index.html in browser. If both labels displaying, both components with internal and external pug template has been loaded correctly.

image

Step 2: Build the application with "pug-plugin"

Comment out lines 34-53 in webpack.config.ts and uncomment the lines 55-74. Then rebuild the application and open Build/index.html.

This time, it should be only one label:

image

Check the warning message by developer tools:

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published