long-path

configure npm&webpack Win10 for long paths using relative paths

[亡魂溺海] 提交于 2021-01-07 02:16:31
问题 Current webpack bundling project folder structure (win10) : root_folder\ |--node_modules |--src |--index.js |--template.html |--package.json |--webpack.config.js Contents of index.js : console.log("Hello webpack"); Contents of template.html : <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><%= htmlWebpackPlugin.options.title %></title> </head> <body> <div id="root"></div> </body> </html> Contents of package.json: { "name": "test", "version": "1.0.0", "description": "",

configure npm&webpack Win10 for long paths using relative paths

风格不统一 提交于 2021-01-07 02:16:30
问题 Current webpack bundling project folder structure (win10) : root_folder\ |--node_modules |--src |--index.js |--template.html |--package.json |--webpack.config.js Contents of index.js : console.log("Hello webpack"); Contents of template.html : <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><%= htmlWebpackPlugin.options.title %></title> </head> <body> <div id="root"></div> </body> </html> Contents of package.json: { "name": "test", "version": "1.0.0", "description": "",