Skip to content

Commit

Permalink
Remove duplicates not needed in runtime-tools-dev-ui-webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
jomarko committed Sep 25, 2023
1 parent f36c3a2 commit 1b29c9b
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 237 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,23 @@
<outputDirectory>${basedir}/target/classes/dev-static/webapp</outputDirectory>
<resources>
<resource>
<directory>${path.to.webapp.app}/dist</directory>
<directory>${path.to.webapp.app}/dist/resources/webapp</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-webapp2</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/dev-static/</outputDirectory>
<resources>
<resource>
<directory>${path.to.webapp.app}/dist/webapp</directory>
<filtering>false</filtering>
</resource>
</resources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"cypress": "^12.17.0",
"express": "^4.18.2",
"file-loader": "^6.2.0",
"filemanager-webpack-plugin": "^6.1.7",
"filemanager-webpack-plugin": "^7.0.0",
"html-webpack-plugin": "^5.5.3",
"https-browserify": "^1.0.0",
"identity-obj-proxy": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ module.exports = {
copy: [
{ source: './dist/envelope.js', destination: './dist/resources/webapp/' },
{ source: './dist/envelope.js.map', destination: './dist/resources/webapp/' },
{ source: './dist/*.js', destination: './dist/webapp/' },
{ source: './dist/*.map', destination: './dist/webapp/' },
{ source: './dist/standalone.js', destination: './dist/resources/webapp/' },
{ source: './dist/standalone.js.map', destination: './dist/resources/webapp/' },
{ source: './dist/*.js', destination: './dist/webapp/', globOptions: {ignore: ['./dist/envelope.js', './dist/standalone.js']} },
{ source: './dist/*.map', destination: './dist/webapp/', globOptions: {ignore: ['./dist/envelope.js.map', './dist/standalone.js.map']}},
{ source: './dist/fonts', destination: './dist/webapp/fonts/' },
{
source: './dist/monitoring-webapp',
Expand All @@ -76,7 +78,8 @@ module.exports = {
source: './dist/custom-dashboard-view',
destination: './dist/resources/webapp/custom-dashboard-view'
}
]
],
delete: ['./dist/*.js*', './dist/fonts', './dist/standalone']
}
}
}),
Expand Down
Loading

0 comments on commit 1b29c9b

Please sign in to comment.