Use webpack to deliver newest d3-tip.js, highlight.js and vis.js

This commit is contained in:
Sebastian Serth
2018-10-09 11:55:51 +02:00
parent 72d0f7585e
commit dd0f56659e
19 changed files with 121 additions and 511 deletions

View File

@ -16,6 +16,8 @@ environment.plugins.prepend('Provide', new webpack.ProvidePlugin({
'window.Tether': "tether",
Popper: ['popper.js', 'default'], // for Bootstrap 4
_: 'underscore',
vis: 'vis',
hljs: 'highlight.js',
})
);
@ -24,7 +26,6 @@ const aliasConfig = module.exports = {
resolve: {
alias: {
jquery: 'jquery/src/jquery',
underscore: 'underscore/underscore',
}
}
};