Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated UI demo webpack config

Rich Turnere6ff43d57f33
diff --git a/ui/demo/demo-core/webpack.config.js b/ui/demo/demo-core/webpack.config.js
index aaaa8d2e2..4801144a8 100644
--- a/ui/demo/demo-core/webpack.config.js
+++ b/ui/demo/demo-core/webpack.config.js
@@ -17,6 +17,9 @@ module.exports = {
contentBase: './dist',
publicPath: "/" + __dirname.split(path.sep).slice(-1)[0] + "/"
},
+ watchOptions: {
+ ignored: ['**/*.ts', 'node_modules']
+ },
plugins: [
new HtmlWebpackPlugin({
chunksSortMode: 'none',
diff --git a/ui/demo/demo-or-header/webpack.config.js b/ui/demo/demo-or-header/webpack.config.js
index 3334a3985..e763b0c60 100644
--- a/ui/demo/demo-or-header/webpack.config.js
+++ b/ui/demo/demo-or-header/webpack.config.js
@@ -17,6 +17,9 @@ module.exports = {
contentBase: './dist',
publicPath: "/" + __dirname.split(path.sep).slice(-1)[0] + "/"
},
+ watchOptions: {
+ ignored: ['**/*.ts', 'node_modules']
+ },
plugins: [
new HtmlWebpackPlugin({
chunksSortMode: 'none',
diff --git a/ui/demo/demo-or-map/webpack.config.js b/ui/demo/demo-or-map/webpack.config.js
index b577a324a..632e19aa7 100644
--- a/ui/demo/demo-or-map/webpack.config.js
+++ b/ui/demo/demo-or-map/webpack.config.js
@@ -18,6 +18,9 @@ module.exports = {
contentBase: './dist',
publicPath: "/" + __dirname.split(path.sep).slice(-1)[0] + "/"
},
+ watchOptions: {
+ ignored: ['**/*.ts', 'node_modules']
+ },
plugins: [
new HtmlWebpackPlugin({
chunksSortMode: 'none',
diff --git a/ui/demo/demo-or-thermostat/webpack.config.js b/ui/demo/demo-or-thermostat/webpack.config.js
index b577a324a..632e19aa7 100644
--- a/ui/demo/demo-or-thermostat/webpack.config.js
+++ b/ui/demo/demo-or-thermostat/webpack.config.js
@@ -18,6 +18,9 @@ module.exports = {
contentBase: './dist',
publicPath: "/" + __dirname.split(path.sep).slice(-1)[0] + "/"
},
+ watchOptions: {
+ ignored: ['**/*.ts', 'node_modules']
+ },
plugins: [
new HtmlWebpackPlugin({
chunksSortMode: 'none',
diff --git a/ui/demo/demo-rest/webpack.config.js b/ui/demo/demo-rest/webpack.config.js
index 19fa56115..fe0e277df 100644
--- a/ui/demo/demo-rest/webpack.config.js
+++ b/ui/demo/demo-rest/webpack.config.js
@@ -17,6 +17,9 @@ module.exports = {
contentBase: './dist',
publicPath: "/" + __dirname.split(path.sep).slice(-1)[0] + "/"
},
+ watchOptions: {
+ ignored: ['**/*.ts', 'node_modules']
+ },
plugins: [
new HtmlWebpackPlugin({
chunksSortMode: 'none',