mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: use correct copy-webpack-plugin syntax
This commit is contained in:
@@ -7,16 +7,9 @@ module.exports = (env) => {
|
||||
env = env || {};
|
||||
const baseConfig = webpackConfig(env);
|
||||
|
||||
baseConfig.plugins.push(new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: 'ui/web-view/*.html',
|
||||
globOptions: {
|
||||
dot: false
|
||||
}
|
||||
}
|
||||
]
|
||||
}))
|
||||
baseConfig.plugins.push(new CopyWebpackPlugin([
|
||||
{ from: { glob: 'ui/web-view/*.html', dot: false } }
|
||||
]))
|
||||
|
||||
baseConfig.plugins.push(new webpack.DefinePlugin({
|
||||
__CI__: !!process.env.CI
|
||||
|
||||
Reference in New Issue
Block a user