配置插件
This commit is contained in:
parent
bdff650220
commit
7d1b783783
6
.env
Normal file
6
.env
Normal file
@ -0,0 +1,6 @@
|
||||
HOST=0.0.0.0
|
||||
PORT=1337
|
||||
APP_KEYS=e6x7+oa1YCfr9/IorM117A==,kFbMg+KtC7y7MKCHRKCD+Q==,VjG6I5xNWZ6ZMWnligDMKw==,LHVktZnO1pR7422mae/CuQ==
|
||||
API_TOKEN_SALT=HxNwjeCL/vJA8vvsvTsWwA==
|
||||
ADMIN_JWT_SECRET=xTjiDidZeh3t0rjp21KTKg==
|
||||
JWT_SECRET=+J58VTH+GVgYw5ezQGb6zQ==
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -106,7 +106,7 @@ coverage
|
||||
# Strapi
|
||||
############################
|
||||
|
||||
.env
|
||||
# .env
|
||||
license.txt
|
||||
exports
|
||||
*.cache
|
||||
|
7
config/plugins.js
Normal file
7
config/plugins.js
Normal file
@ -0,0 +1,7 @@
|
||||
module.exports = ({ env }) => ({
|
||||
//...
|
||||
'import-export-entries': {
|
||||
enabled: true,
|
||||
},
|
||||
//...
|
||||
});
|
@ -1,9 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
module.exports = (config, webpack) => {
|
||||
// Note: we provide webpack above so you should not `require` it
|
||||
// Perform customizations to webpack config
|
||||
// Important: return the modified config
|
||||
config.plugins.push(new MonacoWebpackPlugin());
|
||||
return config;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user