fix: exports

This commit is contained in:
cha0s 2021-04-01 14:44:21 -05:00
parent f8aeac6c8d
commit 27ef830cbb
3 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,7 @@ const copy = require('@neutrinojs/copy');
module.exports = require('@latus/build/build/.neutrinorc.js');
module.exports.use.push(copy({
patterns: ['entry.js', 'index.ejs', 'tests.js'].map((path) => ({
patterns: ['entry.js', 'index.js', 'index.ejs', 'tests.js'].map((path) => ({
from: `src/client/${path}`,
to: 'client',
})).concat({

View File

@ -19,7 +19,9 @@
"server.js",
"server.js.map",
"test.js",
"test.js.map"
"test.js.map",
"tests.js",
"virtual.js"
],
"dependencies": {
"@latus/core": "2.0.0",
@ -27,6 +29,7 @@
"debug": "4.3.1",
"express": "^4.17.1",
"lodash.uniq": "^4.5.0",
"mocha": "^8.3.2",
"neutrino": "9.4.0",
"postcss-loader": "3.0.0",
"sass-loader": "^10.1.0",

View File

@ -1,4 +1,4 @@
export default {
exports.default = {
hooks: {
'@latus/core/config': () => ({
up: [],