Skip to content

x6ax6b/html-webpack-asset-only-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-webpack-asset-only-plugin

HTML Webpack Plugin에서 사용할 수 있는 플러그인입니다.
<head></head>에 삽입되는 <link>부분과 <body></body> 또는 템플릿의 마지막에 삽입되는 <script>부분을 각각 파일로 저장할 수 있습니다.

Installation

npm:

$ npm install html-webpack-asset-only-plugin --save-dev

Yarn:

yarn add html-webpack-asset-only-plugin --dev

Usage

webpack.config.js:

const HtmlWebpackAssetOnlyPlugin = require('html-webpack-asset-only-plugin');

plugins: [
  new HtmlWebpackPlugin(),
  new HtmlWebpackAssetOnlyPlugin({ assetOnly: true })
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published