From bcd08032381aab62ea3641fe39bf2eed73c29601 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Thu, 19 Apr 2018 12:01:57 +0200 Subject: [PATCH] Fix samples on Windows --- browser-esm-webpack-small/webpack.config.js | 2 +- browser-esm-webpack/webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser-esm-webpack-small/webpack.config.js b/browser-esm-webpack-small/webpack.config.js index b91ff144..e459cab5 100644 --- a/browser-esm-webpack-small/webpack.config.js +++ b/browser-esm-webpack-small/webpack.config.js @@ -23,7 +23,7 @@ module.exports = { }] }, plugins: [ - new webpack.IgnorePlugin(/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/, /vs\/language\/typescript\/lib/), + new webpack.IgnorePlugin(/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/, /vs(\/|\\)language(\/|\\)typescript(\/|\\)lib/), new UglifyJSPlugin() ], }; diff --git a/browser-esm-webpack/webpack.config.js b/browser-esm-webpack/webpack.config.js index 2d2ddacd..e05c69d2 100644 --- a/browser-esm-webpack/webpack.config.js +++ b/browser-esm-webpack/webpack.config.js @@ -22,6 +22,6 @@ module.exports = { }] }, plugins: [ - new webpack.IgnorePlugin(/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/, /vs\/language\/typescript\/lib/) + new webpack.IgnorePlugin(/^((fs)|(path)|(os)|(crypto)|(source-map-support))$/, /vs(\/|\\)language(\/|\\)typescript(\/|\\)lib/) ], };