Skip to content

Commit b6b2483

Browse files
committed
build including support for 'process'
1 parent fa35047 commit b6b2483

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/particle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/particle.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ module.exports = (env) => {
1212
filename: `particle${env.mode === 'production' ? '.min' : ''}.js`,
1313
path: path.resolve(__dirname, 'dist'),
1414
clean: true,
15-
globalObject: 'this',
1615
library: {
1716
name: 'Particle',
1817
type: 'var'
@@ -39,6 +38,7 @@ module.exports = (env) => {
3938
plugins: [
4039
new webpack.ProvidePlugin({
4140
Buffer: ['buffer', 'Buffer'],
41+
process: 'process/browser',
4242
})
4343
]
4444
};

0 commit comments

Comments
 (0)