mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Fix moment require
This commit is contained in:
parent
7e8ca681c3
commit
384edfae29
@ -138,6 +138,9 @@ module.exports = (options) => ({
|
|||||||
'node_modules/strapi-helper-plugin/node_modules',
|
'node_modules/strapi-helper-plugin/node_modules',
|
||||||
'node_modules',
|
'node_modules',
|
||||||
],
|
],
|
||||||
|
alias: {
|
||||||
|
moment: 'moment/moment.js',
|
||||||
|
},
|
||||||
symlinks: false,
|
symlinks: false,
|
||||||
extensions: [
|
extensions: [
|
||||||
'.js',
|
'.js',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user