File tree Expand file tree Collapse file tree
packages/create-webpack-app/templates/init Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Generated using webpack-cli https://github.com/webpack/webpack-cli
22
33import path from "node:path";
4- import { fileURLToPath } from "node:url";<% if (htmlWebpackPlugin ) { %>
4+ import { fileURLToPath } from "node:url";<% if (langType === "Typescript" ) { %>
55import { type Configuration } from "webpack";<% if (devServer) { %>
66import " webpack-dev-server" ;<% } %><% } %><% if (htmlWebpackPlugin) { %>
77import HtmlWebpackPlugin from " html-webpack-plugin" ;<% } %><% if (extractPlugin !== "No") { %>
Original file line number Diff line number Diff line change 11// Generated using webpack-cli https://github.com/webpack/webpack-cli
22
33import path from "node:path";
4- import { fileURLToPath } from "node:url";<% if (htmlWebpackPlugin ) { %>
4+ import { fileURLToPath } from "node:url";<% if (langType === "Typescript" ) { %>
55import { type Configuration } from "webpack";<% if (devServer) { %>
66import " webpack-dev-server" ;<% } %><% } %><% if (htmlWebpackPlugin) { %>
77import HtmlWebpackPlugin from " html-webpack-plugin" ;<% } %><% if (extractPlugin !== "No") { %>
Original file line number Diff line number Diff line change 22
33import { VueLoaderPlugin } from "vue-loader";
44import path from "node:path";
5- import { fileURLToPath } from "node:url";<% if (htmlWebpackPlugin ) { %>
5+ import { fileURLToPath } from "node:url";<% if (langType === "Typescript" ) { %>
66import { type Configuration } from "webpack";<% if (devServer) { %>
77import " webpack-dev-server" ;<% } %><% } %><% if (htmlWebpackPlugin) { %>
88import HtmlWebpackPlugin from " html-webpack-plugin" ;<% } %><% if (extractPlugin !== "No") { %>
You can’t perform that action at this time.
0 commit comments