Skip to content

Commit

Permalink
fix webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Enikő Pusztai committed Jun 5, 2020
1 parent 18b956e commit e2c5082
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/sensenet/webpack.prod.js
Expand Up @@ -53,10 +53,12 @@ module.exports = merge(common, {
minifyURLs: true,
},
}),
new CopyPlugin([
{ from: path.resolve(`${__dirname}/_redirects`), to: path.resolve(`${__dirname}/build`) },
{ from: path.resolve(`${__dirname}/web.config`), to: path.resolve(`${__dirname}/build`) },
]),
new CopyPlugin({
patterns: [
{ from: path.resolve(`${__dirname}/_redirects`), to: path.resolve(`${__dirname}/build`) },
{ from: path.resolve(`${__dirname}/web.config`), to: path.resolve(`${__dirname}/build`) },
],
}),
new RelativeCiAgentWebpackPlugin({
enabled: process.env.GITHUB_ACTIONS, // Run this only under GitHub Actions
}),
Expand Down

0 comments on commit e2c5082

Please sign in to comment.