Skip to content

Commit

Permalink
Merge branch 'feature/metadata2' into 'develop'
Browse files Browse the repository at this point in the history
Feature/metadata2

See merge request hypha/hypha-dao-client!17
  • Loading branch information
mgravitt committed Dec 24, 2019
2 parents 366d42c + f41b9b0 commit ef5d2e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions quasar.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Configuration for your app
// https://quasar.dev/quasar-cli/quasar-conf-js
require('dotenv').config()
const CopyWebpackPlugin = require('copy-webpack-plugin')
const path = require('path')

module.exports = function (ctx) {
Expand Down Expand Up @@ -142,6 +143,11 @@ module.exports = function (ctx) {
type: 'javascript/auto'
})

cfg.plugins.push(new CopyWebpackPlugin(
[{ from: './src/statics/*.json', to: './', force: true, flatten: true }],
{ copyUnmodified: true }
))

cfg.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
Expand Down

0 comments on commit ef5d2e9

Please sign in to comment.