mirror of https://github.com/status-im/codimd.git
commit
4153403a8b
|
@ -121,10 +121,15 @@ module.exports = {
|
||||||
inject: false
|
inject: false
|
||||||
}),
|
}),
|
||||||
new CopyWebpackPlugin([
|
new CopyWebpackPlugin([
|
||||||
|
{
|
||||||
|
context: path.join(__dirname, 'node_modules/mathjax'),
|
||||||
|
from: 'MathJax.js',
|
||||||
|
to: 'MathJax/'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
context: path.join(__dirname, 'node_modules/mathjax'),
|
context: path.join(__dirname, 'node_modules/mathjax'),
|
||||||
from: {
|
from: {
|
||||||
glob: '**/*',
|
glob: 'config/**/*.js',
|
||||||
dot: false
|
dot: false
|
||||||
},
|
},
|
||||||
to: 'MathJax/'
|
to: 'MathJax/'
|
||||||
|
@ -132,17 +137,29 @@ module.exports = {
|
||||||
{
|
{
|
||||||
context: path.join(__dirname, 'node_modules/emojify.js'),
|
context: path.join(__dirname, 'node_modules/emojify.js'),
|
||||||
from: {
|
from: {
|
||||||
glob: '**/*',
|
glob: 'dist/**/*',
|
||||||
dot: false
|
dot: false
|
||||||
},
|
},
|
||||||
to: 'emojify.js/'
|
to: 'emojify.js/'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
context: path.join(__dirname, 'node_modules/reveal.js'),
|
context: path.join(__dirname, 'node_modules/reveal.js'),
|
||||||
from: {
|
from: 'js',
|
||||||
glob: '**/*',
|
to: 'reveal.js/'
|
||||||
dot: false
|
},
|
||||||
|
{
|
||||||
|
context: path.join(__dirname, 'node_modules/reveal.js'),
|
||||||
|
from: 'css',
|
||||||
|
to: 'reveal.js/'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
context: path.join(__dirname, 'node_modules/reveal.js'),
|
||||||
|
from: 'lib',
|
||||||
|
to: 'reveal.js/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
context: path.join(__dirname, 'node_modules/reveal.js'),
|
||||||
|
from: 'plugin',
|
||||||
to: 'reveal.js/'
|
to: 'reveal.js/'
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -419,5 +436,11 @@ module.exports = {
|
||||||
|
|
||||||
node: {
|
node: {
|
||||||
fs: "empty"
|
fs: "empty"
|
||||||
|
},
|
||||||
|
|
||||||
|
quiet: false,
|
||||||
|
noInfo: false,
|
||||||
|
stats: {
|
||||||
|
assets: false
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue