downgrade fonteditor-core, fails in standalone mode

This commit is contained in:
daniel-j 2020-10-19 13:48:49 +02:00
parent 5dac8a5e24
commit 186fc4f3a3
3 changed files with 4 additions and 19 deletions

6
package-lock.json generated
View file

@ -4664,9 +4664,9 @@
"dev": true
},
"fonteditor-core": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/fonteditor-core/-/fonteditor-core-2.1.3.tgz",
"integrity": "sha512-8wgfqhuP/dvE284huhPNjNePkxFTWZ2E/D5FbGH0Vib9PV110oMNw6T123VrK+Zo9kSHjQbbfWcfmXN4gMCCkA==",
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/fonteditor-core/-/fonteditor-core-2.1.2.tgz",
"integrity": "sha512-bAxN24HhYB7nuOGvz/4xW7l+2LSJ2IpEorsHmRl0QSPrFwt15ysY/d82vN2qv5dnC102dC/EJSAe9PJiGsJfQA==",
"requires": {
"xmldom": "~0.1.19"
}

View file

@ -29,7 +29,7 @@
"elementtree": "^0.1.7",
"escape-string-regexp": "^4.0.0",
"file-type": "^16.0.0",
"fonteditor-core": "^2.1.3",
"fonteditor-core": "2.1.2",
"html-entities": "^1.3.1",
"html-to-text": "^5.1.1",
"image-size": "^0.9.1",

View file

@ -211,21 +211,6 @@ const bundleStaticNpmModuleConfig = {
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
sourceMaps: !inProduction,
presets: [['@babel/env', {
targets: {
node: 'current'
}
}]]
}
}
},
{
test: /\.styl$/,
use: ['raw-loader', 'stylus-loader']