2018-12-23から1日間の記事一覧
概要 html-webpack-pluginというプラグインを使います。 まずプラグインを追加 $ npm install html-webpack-plugin --save--dev webpack.config.jsに追加 plugins: [ new HtmlWebpackPlugin({ template: './src/index.html', favicon: './src/favicon.ico', …
概要 html-webpack-pluginというプラグインを使います。 まずプラグインを追加 $ npm install html-webpack-plugin --save--dev webpack.config.jsに追加 plugins: [ new HtmlWebpackPlugin({ template: './src/index.html', favicon: './src/favicon.ico', …