This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
forked from arnog/mathlive
-
Notifications
You must be signed in to change notification settings - Fork 0
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
820bfed
wip
mderrier bfabe0f
wip
mderrier 9e78024
fix(FF): it works
mderrier 4ecefa0
Merge branch 'master' into wip
mderrier 4e0dfe9
fix(FF): remove sound
mderrier f084059
fix(FF): remove sound on build
mderrier 6131782
fix(FF): bump version
mderrier 2378385
some lint
mderrier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,47 +76,47 @@ | |
"paosder <[email protected]>" | ||
], | ||
"devDependencies": { | ||
"@babel/cli": "7.12.1", | ||
"@babel/cli": "7.12.8", | ||
"@babel/plugin-proposal-class-properties": "7.12.1", | ||
"@babel/plugin-transform-classes": "7.12.1", | ||
"@babel/preset-env": "7.12.1", | ||
"@babel/preset-env": "7.12.7", | ||
"@babel/types": "^7.12.6", | ||
"@cortex-js/prettier-config": "^1.0.0", | ||
"@rollup/plugin-node-resolve": "^10.0.0", | ||
"@rollup/plugin-node-resolve": "11.0.0", | ||
"@types/css-font-loading-module": "0.0.4", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^14.14.7", | ||
"@typescript-eslint/eslint-plugin": "^4.7.0", | ||
"@typescript-eslint/parser": "^4.7.0", | ||
"@typescript-eslint/typescript-estree": "^4.7.0", | ||
"@types/jest": "26.0.16", | ||
"@typescript-eslint/eslint-plugin": "4.9.0", | ||
"@typescript-eslint/parser": "4.9.0", | ||
"@typescript-eslint/typescript-estree": "4.9.0", | ||
"acorn-private-class-elements": "0.2.7", | ||
"autoprefixer": "^9.8.6", | ||
"check-node-version": "^4.0.3", | ||
"cssnano": "^4.1.10", | ||
"eslint": "^7.13.0", | ||
"eslint-config-prettier": "^6.15.0", | ||
"eslint": "7.15.0", | ||
"eslint-config-prettier": "7.0.0", | ||
"eslint-plugin-no-unsanitized": "^3.1.4", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint-plugin-prettier": "3.2.0", | ||
"http-server": "^0.12.3", | ||
"husky": "^4.3.0", | ||
"husky": "4.3.5", | ||
"jest": "^26.6.3", | ||
"jest-silent-reporter": "^0.3.0", | ||
"jest-silent-reporter": "0.4.0", | ||
"less": "^3.12.2", | ||
"lint-staged": "^10.5.1", | ||
"lint-staged": "10.5.3", | ||
"postcss-cli": "^7.1.2", | ||
"prettier": "^2.1.2", | ||
"prettier": "2.2.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.33.2", | ||
"rollup": "2.34.2", | ||
"rollup-plugin-copy": "^3.3.0", | ||
"rollup-plugin-eslint": "^7.0.0", | ||
"rollup-plugin-polyfill": "3.0.0", | ||
"rollup-plugin-postcss": "^3.1.8", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.0.5" | ||
}, | ||
"dependencies": { | ||
"@webcomponents/webcomponentsjs": "2.5.0" | ||
"@webcomponents/webcomponentsjs": "2.2.10" | ||
}, | ||
"keywords": [ | ||
"math", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ import postcss from 'rollup-plugin-postcss'; | |
import pkg from './package.json'; | ||
import path from 'path'; | ||
import chalk from 'chalk'; | ||
import polyfill from 'rollup-plugin-polyfill'; | ||
|
||
const { exec } = require('child_process'); | ||
|
||
|
@@ -172,6 +173,9 @@ const ROLLUP = [ | |
moduleDirectory: 'submodules/math-json/src', | ||
}, | ||
}), | ||
polyfill([ | ||
'@webcomponents/webcomponentsjs/webcomponents-bundle.js', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. inject polyfill via rollup |
||
]), | ||
typescript(TYPESCRIPT_OPTIONS), | ||
], | ||
output: [ | ||
|
@@ -211,6 +215,9 @@ if (PRODUCTION) { | |
minimize: true, | ||
}), | ||
resolve(), | ||
polyfill([ | ||
'@webcomponents/webcomponentsjs/webcomponents-bundle.js', | ||
]), | ||
typescript(TYPESCRIPT_OPTIONS), | ||
terser(TERSER_OPTIONS), | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FF 54 doesn't work with webcomponents polyfill > 2.2