Upgrade copy-webpack-plugin (#53)

Also remove unused .tern-project file
This commit is contained in:
Elisha Nuchi
2020-08-18 02:12:32 -04:00
committed by GitHub
parent 886ec2e72a
commit 08baee043d
4 changed files with 407 additions and 70 deletions
+8 -7
View File
@@ -80,12 +80,14 @@ const copyFilesConfig = {
path: destination,
},
plugins: [
new CopyWebpackPlugin([
{
from: copyAppscriptEntry,
to: destination,
},
]),
new CopyWebpackPlugin({
patterns: [
{
from: copyAppscriptEntry,
to: destination,
},
],
}),
],
};
@@ -235,7 +237,6 @@ const devClientConfigs = clientEntrypoints.map(clientEntrypoint => {
}),
new HtmlWebpackPlugin({
template: './dev/index.html',
// we name the development wrapper with a '-development' suffix
// this should match the html files we load in src/server/ui.js
filename: `${clientEntrypoint.filename}.html`,
inlineSource: '^[^(//)]+.(js|css)$', // embed all js and css inline, exclude packages with '//' for dynamic cdn insertion