Skip to content

Commit

Permalink
Feature/metadata2
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravitt committed Dec 24, 2019
1 parent 366d42c commit f41b9b0
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 f41b9b0

Please sign in to comment.