Skip to content

Commit

Permalink
fix: removed all browser flags in package.json, a lot of issues with …
Browse files Browse the repository at this point in the history
…it. closes #3094
  • Loading branch information
matteobruni committed Feb 7, 2022
1 parent 1f33ac1 commit 1415875
Show file tree
Hide file tree
Showing 29 changed files with 2 additions and 29 deletions.
3 changes: 2 additions & 1 deletion demo/svelte/rollup.config.js
Expand Up @@ -36,7 +36,8 @@ export default {
sourcemap: true,
format: 'iife',
name: 'app',
file: 'public/build/bundle.js'
file: 'public/build/bundle.js',
inlineDynamicImports: true
},
plugins: [
svelte({
Expand Down
1 change: 0 additions & 1 deletion editor/package.json
Expand Up @@ -23,7 +23,6 @@
"main": "dist/index.js",
"jsdelivr": "dist/tsparticles.editor.min.js",
"unpkg": "dist/tsparticles.editor.min.js",
"browser": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion engine/package.dist.json
Expand Up @@ -74,6 +74,5 @@
"module": "esm/index.js",
"jsdelivr": "tsparticles.min.js",
"unpkg": "tsparticles.min.js",
"browser": "index.js",
"types": "index.d.ts"
}
1 change: 0 additions & 1 deletion interactions/light/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.interaction.light.min.js",
"unpkg": "tsparticles.interaction.light.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion interactions/particles/repulse/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.interaction.particles.repulse.min.js",
"unpkg": "tsparticles.interaction.particles.repulse.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion paths/curves/package.dist.json
Expand Up @@ -54,7 +54,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.path.curves.min.js",
"unpkg": "tsparticles.path.curves.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion paths/perlinNoise/package.dist.json
Expand Up @@ -54,7 +54,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.path.perlin.noise.min.js",
"unpkg": "tsparticles.path.perlin.noise.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion paths/polygon/package.dist.json
Expand Up @@ -54,7 +54,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.path.polygon.min.js",
"unpkg": "tsparticles.path.polygon.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion paths/simplexNoise/package.dist.json
Expand Up @@ -54,7 +54,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.path.simplex.noise.min.js",
"unpkg": "tsparticles.path.simplex.noise.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion plugins/infection/package.dist.json
Expand Up @@ -54,7 +54,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.plugin.infection.min.js",
"unpkg": "tsparticles.plugin.infection.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/bigCircles/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.bigCircles.min.js",
"unpkg": "tsparticles.preset.bigCircles.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/bubbles/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.bubbles.min.js",
"unpkg": "tsparticles.preset.bubbles.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/confetti/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.confetti.min.js",
"unpkg": "tsparticles.preset.confetti.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/fire/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.fire.min.js",
"unpkg": "tsparticles.preset.fire.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/firefly/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.firefly.min.js",
"unpkg": "tsparticles.preset.firefly.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/fireworks/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.fireworks.min.js",
"unpkg": "tsparticles.preset.fireworks.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/fountain/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.fountain.min.js",
"unpkg": "tsparticles.preset.fountain.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/links/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.links.min.js",
"unpkg": "tsparticles.preset.links.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/seaAnemone/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.seaAnemone.min.js",
"unpkg": "tsparticles.preset.seaAnemone.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/snow/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.snow.min.js",
"unpkg": "tsparticles.preset.snow.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/stars/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.stars.min.js",
"unpkg": "tsparticles.preset.stars.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion presets/triangles/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.preset.triangles.min.js",
"unpkg": "tsparticles.preset.triangles.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion shapes/bubble/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "shape.js",
"jsdelivr": "tsparticles.shape.bubble.min.js",
"unpkg": "tsparticles.shape.bubble.min.js",
"browser": "shape.js",
"module": "shape.js",
"types": "shape.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion shapes/heart/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "shape.js",
"jsdelivr": "tsparticles.shape.heart.min.js",
"unpkg": "tsparticles.shape.heart.min.js",
"browser": "shape.js",
"module": "shape.js",
"types": "shape.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion shapes/multiline-text/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "shape.js",
"jsdelivr": "tsparticles.shape.multiline-text.min.js",
"unpkg": "tsparticles.shape.multiline-text.min.js",
"browser": "shape.js",
"module": "shape.js",
"types": "shape.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion shapes/rounded-rect/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "shape.js",
"jsdelivr": "tsparticles.shape.rounded-rect.min.js",
"unpkg": "tsparticles.shape.rounded-rect.min.js",
"browser": "shape.js",
"module": "shape.js",
"types": "shape.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion shapes/spiral/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "shape.js",
"jsdelivr": "tsparticles.shape.spiral.min.js",
"unpkg": "tsparticles.shape.spiral.min.js",
"browser": "shape.js",
"module": "shape.js",
"types": "shape.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion updaters/gradient/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.updater.gradient.min.js",
"unpkg": "tsparticles.updater.gradient.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion updaters/orbit/package.dist.json
Expand Up @@ -51,7 +51,6 @@
"main": "index.js",
"jsdelivr": "tsparticles.updater.orbit.min.js",
"unpkg": "tsparticles.updater.orbit.min.js",
"browser": "index.js",
"module": "index.js",
"types": "index.d.ts",
"dependencies": {
Expand Down

0 comments on commit 1415875

Please sign in to comment.