Skip to content
Snippets Groups Projects
Commit 922c07cf authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Fail Webpack builds on broken exports

parent 75c2391e
No related branches found
No related tags found
1 merge request!1538Fail Webpack builds on broken exports
......@@ -85,8 +85,7 @@
<script>
// Displays a single worker version with dynamic loading of the related version in a dropdown
import { mapState, mapGetters, mapActions, mapMutations } from 'vuex'
import { errorParser } from '@/helpers'
import { ago } from '@/helpers/text'
import { ago, errorParser } from '@/helpers'
import ItemId from '@/components/ItemId.vue'
export default {
......
......@@ -56,8 +56,7 @@
<script>
import { mapState, mapActions, mapMutations } from 'vuex'
import { ago } from '@/helpers/text'
import { errorParser } from '@/helpers'
import { ago, errorParser } from '@/helpers'
import { GIT_REF_COLORS, REVISION_STATE_COLORS } from '@/config'
import ItemId from '@/components/ItemId.vue'
......
......@@ -12,6 +12,14 @@ process.env.VUE_APP_VERSION = process.env.NODE_ENV === 'development' ? `${versio
module.exports = defineConfig({
lintOnSave: false,
chainWebpack: config => {
config.module.merge({
parser: {
javascript: {
exportsPresence: 'error'
}
}
})
config
.plugin('lodash')
.use(LodashModuleReplacementPlugin, [{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment