- added .editorconfig - updated package.json & build/npm/Plugins.js according to the following changes - updated dev dependencies to clear audits - updated daterangepicker - updated overlayScrollbars - moved flot (0.8.2) to flot-old for plugins - updated flot - updated fullcalendar - replaced icheck with icheck-bootstrap & updated demo files - added icheck-bootstrap color overrides - updated inputmask - updated ion-rangeslider - updated jquery-ui - updated bootstrap-slider tweaks & demo files - replaced jvectormap with jqvmap & updated demo files - added jquery-mapael & replaced in index2 jvectormap - updated jquery-knob - replaced pace with pace-progress - updated select2 & demo files - replaced jquery.sparkline with sparklines & updated demo files and removed jquery.sparkline demo section
40 lines
715 B
JavaScript
40 lines
715 B
JavaScript
"use strict";
|
|
|
|
const webpack = require("webpack");
|
|
const fs = require("fs");
|
|
|
|
module.exports = function (env) {
|
|
|
|
let externals = [];
|
|
|
|
if (env && env.noDeps) {
|
|
console.log('Building version without deps');
|
|
externals.push("eve");
|
|
}
|
|
|
|
return {
|
|
entry: './dev/raphael.amd.js',
|
|
output: {
|
|
path: __dirname,
|
|
filename: "raphael.js",
|
|
libraryTarget: "umd",
|
|
library: "Raphael"
|
|
},
|
|
|
|
externals: externals,
|
|
|
|
plugins: [
|
|
new webpack.BannerPlugin({
|
|
banner: fs.readFileSync('./dev/banner.txt', 'utf8'),
|
|
raw: true,
|
|
entryOnly: true
|
|
})
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
"eve": "eve-raphael/eve"
|
|
}
|
|
}
|
|
};
|
|
|
|
}; |