mirror of
https://github.com/strapi/strapi.git
synced 2025-11-08 14:19:40 +00:00
revert the empty lines
This commit is contained in:
parent
16338ad84b
commit
c232a8e814
@ -14,6 +14,7 @@ const getCustomWebpackConfig = (dir, config) => {
|
|||||||
|
|
||||||
if (fs.existsSync(adminConfigPath)) {
|
if (fs.existsSync(adminConfigPath)) {
|
||||||
const webpackAdminConfig = require(path.resolve(adminConfigPath));
|
const webpackAdminConfig = require(path.resolve(adminConfigPath));
|
||||||
|
|
||||||
if (_.isFunction(webpackAdminConfig)) {
|
if (_.isFunction(webpackAdminConfig)) {
|
||||||
// Expose the devServer configuration
|
// Expose the devServer configuration
|
||||||
if (config.devServer) {
|
if (config.devServer) {
|
||||||
|
|||||||
@ -21,6 +21,7 @@ module.exports = () => ({
|
|||||||
'dist/',
|
'dist/',
|
||||||
'.cache/',
|
'.cache/',
|
||||||
'.tmp/',
|
'.tmp/',
|
||||||
|
|
||||||
// Do not include admin files in the server compilation
|
// Do not include admin files in the server compilation
|
||||||
'src/admin/',
|
'src/admin/',
|
||||||
// Do not include test files
|
// Do not include test files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user