mirror of https://github.com/sundowndev/http.git
26 lines
417 B
JavaScript
26 lines
417 B
JavaScript
const { resolve } = require('path')
|
|
|
|
module.exports = {
|
|
rootDir: resolve(__dirname, '../..'),
|
|
buildDir: resolve(__dirname, '.nuxt'),
|
|
srcDir: __dirname,
|
|
render: {
|
|
resourceHints: false
|
|
},
|
|
modules: [
|
|
require('../..')
|
|
],
|
|
serverMiddleware: [
|
|
'~/api.js'
|
|
],
|
|
http: {
|
|
prefix: '/test_api',
|
|
proxy: true,
|
|
retry: 1
|
|
},
|
|
build: {
|
|
terser: false
|
|
},
|
|
plugins: ['~/plugins/http']
|
|
}
|