source: main/trunk/model-interfaces-dev/atea/ocr/vue.config.js@ 35770

Last change on this file since 35770 was 35770, checked in by cstephen, 2 years ago

Fix bundle resolution and imports

File size: 787 bytes
Line 
1// vue.config.js
2
3/**
4 * @type {import('@vue/cli-service').ProjectOptions}
5 */
6module.exports = {
7 filenameHashing: false, // Allows us to easily setup direct links to the bundles in macron-restoration.xsl. You may want to change this for production in order to help with caching
8 publicPath: process.env.NODE_ENV === 'production'
9 ? '/greenstone3/interfaces/atea/ocr/dist'
10 : '/',
11
12 chainWebpack: config => {
13 config
14 .plugin("html")
15 .tap(args => {
16 args[0].title = "Reo Māori OCR";
17 return args;
18 })
19 },
20
21 css: {
22 loaderOptions: {
23 sass: {
24 prependData: "@use \"@/styles/_material.scss\";@use \"@/styles/theme.scss\";"
25 }
26 }
27 }
28}
Note: See TracBrowser for help on using the repository browser.