Skip to content

Commit

Permalink
build including support for 'process'
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosHdez committed Sep 21, 2023
1 parent fa35047 commit b6b2483
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/particle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/particle.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = (env) => {
filename: `particle${env.mode === 'production' ? '.min' : ''}.js`,
path: path.resolve(__dirname, 'dist'),
clean: true,
globalObject: 'this',
library: {
name: 'Particle',
type: 'var'
Expand All @@ -39,6 +38,7 @@ module.exports = (env) => {
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
process: 'process/browser',
})
]
};
Expand Down

0 comments on commit b6b2483

Please sign in to comment.