Fix links

pull/144/head
Henrique Dias 2017-07-06 11:41:43 +01:00
parent 9b0ca01aa5
commit 0f3364ad3e
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
2 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ module.exports = merge(baseWebpackConfig, {
module.resource &&
/\.js$/.test(module.resource) &&
module.resource.indexOf(
path.join(__dirname, '../node_modules')
path.join(__dirname, '../../node_modules')
) === 0
)
}
@ -73,7 +73,7 @@ module.exports = merge(baseWebpackConfig, {
ignore: ['.*']
},
{
from: path.resolve(__dirname, '../node_modules/codemirror/mode/*/*'),
from: path.resolve(__dirname, '../../node_modules/codemirror/mode/*/*'),
to: path.join(config.assetsSubDirectory, 'js/codemirror/mode/[name]/[name].js')
}
])

View File

@ -35,7 +35,7 @@ var webpackConfig = merge(baseWebpackConfig, {
ignore: ['.*']
},
{
from: path.resolve(__dirname, '../node_modules/codemirror/mode/*/*'),
from: path.resolve(__dirname, '../../node_modules/codemirror/mode/*/*'),
to: path.join(config.assetsSubDirectory, 'js/codemirror/mode/[name]/[name].js'),
transform: function (source, path) {
let result = UglifyJS.minify(source.toString('utf8'))
@ -96,7 +96,7 @@ var webpackConfig = merge(baseWebpackConfig, {
module.resource &&
/\.js$/.test(module.resource) &&
module.resource.indexOf(
path.join(__dirname, '../node_modules')
path.join(__dirname, '../../node_modules')
) === 0
)
}