Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
9a864ec2
Verified
Commit
9a864ec2
authored
May 27, 2021
by
les
Browse files
cleaning
parent
15dc653c
Changes
1
Hide whitespace changes
Inline
Side-by-side
nuxt.config.js
View file @
9a864ec2
const
conf
=
require
(
'
config
'
)
const
{
format
,
transports
}
=
require
(
'
winston
'
)
module
.
exports
=
{
telemetry
:
false
,
...
...
@@ -61,23 +60,6 @@ module.exports = {
[
'
nuxt-express-module
'
,
{
expressPath
:
'
server/
'
,
routesPath
:
'
server/routes
'
}]
],
// configure nuxt-winston-log module
winstonLog
:
{
skipRequestMiddlewareHandler
:
true
,
useDefaultLogger
:
false
,
loggerOptions
:
{
transports
:
process
.
env
.
NODE_ENV
!==
'
production
'
?
[
new
transports
.
Console
(
{
level
:
'
debug
'
,
format
:
format
.
combine
(
format
.
colorize
(),
format
.
simple
(),
format
.
errors
({
stack
:
true
}))
}
)]
:
[
new
transports
.
File
(
{
filename
:
'
logs/gancio.log
'
,
format
:
format
.
combine
(
format
.
simple
(),
format
.
errors
({
stack
:
true
}))
}
)]
}
},
/*
** Axios module configuration
* See https://github.com/nuxt-community/axios-module#options
...
...
@@ -118,6 +100,7 @@ module.exports = {
vuetify
:
{
defaultAssets
:
false
,
optionsPath
:
'
./vuetify.options.js
'
// treeShake: true
/* module options */
},
/*
...
...
@@ -125,7 +108,7 @@ module.exports = {
*/
build
:
{
presets
:
[
'
@nuxt/babel-preset-app
'
,
{
useBuiltIns
:
"
usage
"
,
// or "entry"
useBuiltIns
:
'
usage
'
,
// or "entry"
corejs
:
3
}],
babel
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment