Skip to content

Commit

Permalink
chore: copy browser-polyfill script from node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Sep 11, 2022
1 parent a4df5bf commit 607b0b1
Show file tree
Hide file tree
Showing 6 changed files with 14,059 additions and 11,152 deletions.
16 changes: 16 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const CopyPlugin = require('copy-webpack-plugin');

module.exports = {
webpack: {
plugins: [
new CopyPlugin({
patterns: [
{
from: 'node_modules/webextension-polyfill/dist/browser-polyfill.min.js',
to: 'static/js',
},
],
}),
],
},
};
Loading

0 comments on commit 607b0b1

Please sign in to comment.