Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -1,57 +1,14 @@
|
||||
module.exports = {
|
||||
pluginOptions: {
|
||||
webpackBundleAnalyzer: {
|
||||
analyzerMode: 'disabled'
|
||||
}
|
||||
},
|
||||
lintOnSave: false,
|
||||
runtimeCompiler: true,
|
||||
outputDir: '../priv/static',
|
||||
configureWebpack: {
|
||||
module: {
|
||||
rules: [ // fixes https://github.com/graphql/graphql-js/issues/1272
|
||||
{
|
||||
test: /\.mjs$/,
|
||||
include: /node_modules/,
|
||||
type: 'javascript/auto',
|
||||
},
|
||||
],
|
||||
},
|
||||
output: {
|
||||
filename: 'app.js'
|
||||
}
|
||||
},
|
||||
chainWebpack: config => {
|
||||
// config
|
||||
// .plugin('html')
|
||||
// .tap(args => {
|
||||
// args[0].minify = {
|
||||
// removeComments: false,
|
||||
// };
|
||||
// return args
|
||||
// });
|
||||
const path = require("path");
|
||||
|
||||
config.module
|
||||
.rule("vue")
|
||||
.use("vue-svg-inline-loader")
|
||||
.loader("vue-svg-inline-loader")
|
||||
.options({
|
||||
addAttributes: {
|
||||
role: "img",
|
||||
focusable: false,
|
||||
tabindex: -1,
|
||||
'aria-labelledby': "MobilizonLogoTitle"
|
||||
},
|
||||
svgo: {
|
||||
plugins: [
|
||||
{
|
||||
removeTitle: false,
|
||||
},
|
||||
{
|
||||
cleanupIDs: false
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
}
|
||||
module.exports = {
|
||||
runtimeCompiler: true,
|
||||
lintOnSave: true,
|
||||
outputDir: path.resolve(__dirname, "../priv/static"),
|
||||
chainWebpack: (config) => {
|
||||
const svgRule = config.module.rule("svg");
|
||||
|
||||
svgRule.uses.clear();
|
||||
|
||||
svgRule.use("vue-svg-loader").loader("vue-svg-loader");
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user