Skip to content

Commit

Permalink
passes firefox 39 but not chrome 40
Browse files Browse the repository at this point in the history
  • Loading branch information
rmi22186 committed Oct 18, 2023
1 parent 22c7dbc commit d0de0f7
Show file tree
Hide file tree
Showing 23 changed files with 93,834 additions and 16,703 deletions.
141 changes: 56 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"eslint": "^8.36.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "3.4.1",
"fetch-mock": "^7.5.1",
"fetch-mock": "9.1.1",
"gts": "^5.0.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
Expand Down Expand Up @@ -139,7 +139,7 @@
"webpack-cli": "^5.0.2"
},
"dependencies": {
"@babel/runtime": "^7.6.0",
"@babel/runtime": "^7.23.2",
"core-js": "^3.33.0",
"slugify": "^1.3.6"
}
Expand Down
24 changes: 0 additions & 24 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ const defaultBabel = babel({
babelHelpers: 'runtime',
});

const testBabel = babel({
...babelSettings,
// extensions,
// include: ['src/**/*'],
babelHelpers: 'runtime',
plugins: ['@babel/plugin-transform-runtime'],
});

const babelMinify = babel({
extensions,
include: ['src/**/*'],
Expand Down Expand Up @@ -64,22 +56,6 @@ const builds = {
json(),
],
},
tests: {
input: 'test/cross-browser-testing/test-cross-browser.js',
output: {
...defaultOutputOptions,
file: 'dist/CBT.js',
format: 'iife',
name: 'mParticle',
},
plugins: [
resolve(),
commonjs({
// include: 'node_modules/**',
}),
testBabel,
],
},
cjs: {
input: 'src/mparticle-instance-manager.js',
output: {
Expand Down
3 changes: 2 additions & 1 deletion rollup.test.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ const builds = {
file: 'test/test-bundle.js',
format: 'iife',
name: 'mParticleTests',
globals: 'browser_global',
sourcemap: ENVIRONMENT !== 'prod',
},
plugins: [
resolve(),
commonjs({
include: 'node_modules/**',
namedExports: { chai: ['expect'] },
// namedExports: { chai: ['expect'] },
}),
babel({
extensions,
Expand Down
Loading

0 comments on commit d0de0f7

Please sign in to comment.