sails-hook-shipwright 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -1
- package/package.json +1 -1
- package/sails-hook-shipwright-1.0.2.tgz +0 -0
package/index.js
CHANGED
|
@@ -135,7 +135,10 @@ module.exports = function defineShipwrightHook(sails) {
|
|
|
135
135
|
// Don't process absolute URLs in CSS - they reference static assets served from .tmp/public
|
|
136
136
|
cssLoader: { url: { filter: (url) => !url.startsWith('/') } }
|
|
137
137
|
},
|
|
138
|
-
performance: {
|
|
138
|
+
performance: {
|
|
139
|
+
chunkSplit: { strategy: 'split-by-experience' },
|
|
140
|
+
printFileSize: { diff: true }
|
|
141
|
+
},
|
|
139
142
|
server: { port: sails.config.port, strictPort: true, printUrls: false },
|
|
140
143
|
dev: { writeToDisk: (file) => file.includes('manifest.json') }
|
|
141
144
|
})
|
package/package.json
CHANGED
|
Binary file
|