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 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: { chunkSplit: { strategy: 'split-by-experience' } },
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sails-hook-shipwright",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "The modern asset pipeline for Sails",
5
5
  "main": "index.js",
6
6
  "scripts": {
Binary file