mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 07:24:57 +01:00
Using better yml-loader
This commit is contained in:
parent
1a002fce9d
commit
d718646e77
28
simpleExample/package-lock.json
generated
28
simpleExample/package-lock.json
generated
@ -1622,15 +1622,6 @@
|
||||
"for-in": "1.0.2"
|
||||
}
|
||||
},
|
||||
"front-matter": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/front-matter/-/front-matter-2.1.2.tgz",
|
||||
"integrity": "sha1-91mDufL0E75ljJPf172M5AePXNs=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"js-yaml": "3.9.0"
|
||||
}
|
||||
},
|
||||
"get-caller-file": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz",
|
||||
@ -3318,15 +3309,6 @@
|
||||
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",
|
||||
"dev": true
|
||||
},
|
||||
"yaml-frontmatter-loader": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/yaml-frontmatter-loader/-/yaml-frontmatter-loader-0.1.0.tgz",
|
||||
"integrity": "sha1-bNveMMnpokwGSXdzjfPKrlfdrbo=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"front-matter": "2.1.2"
|
||||
}
|
||||
},
|
||||
"yargs": {
|
||||
"version": "6.6.0",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz",
|
||||
@ -3383,6 +3365,16 @@
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"yml-loader": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/yml-loader/-/yml-loader-2.1.0.tgz",
|
||||
"integrity": "sha512-mo42d5FQWlXxpyTEpYywPu1LzK3F69pPPCOB8WKgJi8s+aqaogQP7XnXTjSobbKzzlZ/wXm7kg9CkP4x4ZnVMw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"js-yaml": "3.9.0",
|
||||
"loader-utils": "1.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,9 +19,8 @@
|
||||
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
||||
"babel-preset-latest": "^6.24.1",
|
||||
"html-webpack-plugin": "^2.29.0",
|
||||
"json-loader": "^0.5.4",
|
||||
"webpack": "^3.3.0",
|
||||
"worker-loader": "^0.8.1",
|
||||
"yaml-frontmatter-loader": "^0.1.0"
|
||||
"yml-loader": "^2.1.0"
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /\.yml$/,
|
||||
use: [ 'json-loader', 'yaml-frontmatter-loader' ]
|
||||
use: 'yml-loader'
|
||||
},
|
||||
{
|
||||
test: /\.worker\.js$/,
|
||||
|
Loading…
Reference in New Issue
Block a user