bimba-cli 0.4.1 → 0.4.2

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.
Files changed (3) hide show
  1. package/index.js +3 -1
  2. package/package.json +1 -1
  3. package/plugin.js +2 -1
package/index.js CHANGED
@@ -21,6 +21,7 @@ try {
21
21
  help: { type: 'boolean' },
22
22
  clearcache: { type: 'boolean' },
23
23
  minify: { type: 'boolean' },
24
+ splitting: { type: 'boolean' },
24
25
  target: { type: 'string' },
25
26
  sourcemap: { type: 'string' },
26
27
  serve: { type: 'boolean' },
@@ -143,7 +144,8 @@ async function bundle() {
143
144
  outdir: flags.outdir,
144
145
  target: flags.target || 'browser',
145
146
  sourcemap: flags.sourcemap || 'none',
146
- minify: flags.minify || true,
147
+ minify: true,
148
+ splitting: flags.splitting || false,
147
149
  plugins: [imbaPlugin]
148
150
  });
149
151
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimba-cli",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/HeapVoid/bimba.git"
package/plugin.js CHANGED
@@ -49,7 +49,8 @@ export const imbaPlugin = {
49
49
  const file = await Bun.file(path).text();
50
50
  const out = compiler.compile(file, {
51
51
  sourcePath: path,
52
- platform: 'browser'
52
+ platform: 'browser',
53
+ comments: false
53
54
  })
54
55
 
55
56
  // the file has been successfully compiled