mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Upgrade to imports-loader 1.2.0
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
082939ac9a
commit
8c60e2159c
3 changed files with 18 additions and 9 deletions
|
@ -187,7 +187,7 @@
|
||||||
"expose-loader": "0.7.5",
|
"expose-loader": "0.7.5",
|
||||||
"file-loader": "4.3.0",
|
"file-loader": "4.3.0",
|
||||||
"html-webpack-plugin": "4.5.1",
|
"html-webpack-plugin": "4.5.1",
|
||||||
"imports-loader": "0.8.0",
|
"imports-loader": "1.2.0",
|
||||||
"jsonlint": "1.6.3",
|
"jsonlint": "1.6.3",
|
||||||
"less": "3.13.1",
|
"less": "3.13.1",
|
||||||
"less-loader": "5.0.0",
|
"less-loader": "5.0.0",
|
||||||
|
|
|
@ -189,7 +189,7 @@ module.exports = {
|
||||||
common: [
|
common: [
|
||||||
'expose-loader?jQuery!expose-loader?$!jquery',
|
'expose-loader?jQuery!expose-loader?$!jquery',
|
||||||
'velocity-animate',
|
'velocity-animate',
|
||||||
'imports-loader?$=jquery!jquery-mousewheel',
|
'imports-loader?imports=default|jquery|$!jquery-mousewheel',
|
||||||
'bootstrap'
|
'bootstrap'
|
||||||
],
|
],
|
||||||
cover: [
|
cover: [
|
||||||
|
@ -335,7 +335,7 @@ module.exports = {
|
||||||
'babel-polyfill',
|
'babel-polyfill',
|
||||||
'expose-loader?jQuery!expose-loader?$!jquery',
|
'expose-loader?jQuery!expose-loader?$!jquery',
|
||||||
'velocity-animate',
|
'velocity-animate',
|
||||||
'imports-loader?$=jquery!jquery-mousewheel',
|
'imports-loader?imports=default|jquery|$!jquery-mousewheel',
|
||||||
'bootstrap-tooltip',
|
'bootstrap-tooltip',
|
||||||
'expose-loader?jsyaml!js-yaml',
|
'expose-loader?jsyaml!js-yaml',
|
||||||
'script-loader!mermaid',
|
'script-loader!mermaid',
|
||||||
|
@ -423,7 +423,9 @@ module.exports = {
|
||||||
test: require.resolve('js-sequence-diagrams'),
|
test: require.resolve('js-sequence-diagrams'),
|
||||||
use: [{
|
use: [{
|
||||||
loader: 'imports-loader',
|
loader: 'imports-loader',
|
||||||
options: { _: 'lodash', Raphael: 'raphael', eve: 'eve' }
|
options: {
|
||||||
|
imports: ['default lodash _', 'default raphael Raphael', 'default eve eve']
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
|
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
|
||||||
|
|
17
yarn.lock
17
yarn.lock
|
@ -5205,13 +5205,15 @@ import-local@^2.0.0:
|
||||||
pkg-dir "^3.0.0"
|
pkg-dir "^3.0.0"
|
||||||
resolve-cwd "^2.0.0"
|
resolve-cwd "^2.0.0"
|
||||||
|
|
||||||
imports-loader@0.8.0:
|
imports-loader@1.2.0:
|
||||||
version "0.8.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/imports-loader/-/imports-loader-0.8.0.tgz#030ea51b8ca05977c40a3abfd9b4088fe0be9a69"
|
resolved "https://registry.yarnpkg.com/imports-loader/-/imports-loader-1.2.0.tgz#b06823d0bb42e6f5ff89bc893829000eda46693f"
|
||||||
integrity sha512-kXWL7Scp8KQ4552ZcdVTeaQCZSLW+e6nJfp3cwUMB673T7Hr98Xjx5JK+ql7ADlJUvj1JS5O01RLbKoutN5QDQ==
|
integrity sha512-zPvangKEgrrPeqeUqH0Uhc59YqK07JqZBi9a9cQ3v/EKUIqrbJHY4CvUrDus2lgQa5AmPyXuGrWP8JJTqzE5RQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
loader-utils "^1.0.2"
|
loader-utils "^2.0.0"
|
||||||
|
schema-utils "^3.0.0"
|
||||||
source-map "^0.6.1"
|
source-map "^0.6.1"
|
||||||
|
strip-comments "^2.0.1"
|
||||||
|
|
||||||
imurmurhash@^0.1.4:
|
imurmurhash@^0.1.4:
|
||||||
version "0.1.4"
|
version "0.1.4"
|
||||||
|
@ -10404,6 +10406,11 @@ strip-bom@^3.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
|
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
|
||||||
integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=
|
integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=
|
||||||
|
|
||||||
|
strip-comments@^2.0.1:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-comments/-/strip-comments-2.0.1.tgz#4ad11c3fbcac177a67a40ac224ca339ca1c1ba9b"
|
||||||
|
integrity sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==
|
||||||
|
|
||||||
strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
|
strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
||||||
|
|
Loading…
Reference in a new issue