Merged ESM into feature-bootstrap4. Started work on text inputs.

This commit is contained in:
n1474335 2018-06-09 10:43:36 +01:00
commit 1ce6e32086
447 changed files with 39118 additions and 16687 deletions

View file

@ -35,7 +35,6 @@ module.exports = {
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
moment: "moment-timezone",
log: "loglevel"
}),
new webpack.BannerPlugin({
@ -43,7 +42,7 @@ module.exports = {
raw: true,
entryOnly: true
}),
new ExtractTextPlugin("styles.css"),
new ExtractTextPlugin("styles.css")
],
resolve: {
alias: {
@ -53,23 +52,37 @@ module.exports = {
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
test: /\.m?js$/,
exclude: /node_modules\/(?!jsesc|crypto-api)/,
type: "javascript/auto",
loader: "babel-loader?compact=false"
},
{
test: /MetaConfig\.js$/,
loader: "val-loader"
test: /forge.min.js$/,
loader: "imports-loader?jQuery=>null"
},
{
test: /bootstrap-material-design/,
loader: "imports-loader?Popper=popper.js/dist/umd/popper.js"
},
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
use: [
{ loader: "css-loader?minimize" },
{ loader: "css-loader" },
{ loader: "postcss-loader" },
]
})
},
{
test: /\.scss$/,
use: ExtractTextPlugin.extract({
use: [
{ loader: "css-loader" },
{ loader: "sass-loader" }
]
})
},
{
test: /\.(ico|eot|ttf|woff|woff2)$/,
loader: "url-loader",
@ -100,7 +113,7 @@ module.exports = {
chunks: false,
modules: false,
entrypoints: false,
warningsFilter: /source-map/,
warningsFilter: [/source-map/, /dependency is an expression/],
},
node: {
fs: "empty"