@footgun/cobalt 0.3.2 → 0.3.3

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/esbuild.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import esbuild from 'esbuild'
2
- import { http } from '@hyrious/esbuild-plugin-http'
3
2
  import { glsl } from 'esbuild-plugin-glsl'
4
3
 
5
4
 
@@ -10,8 +9,7 @@ esbuild.build({
10
9
  format: 'esm',
11
10
  target: 'es2022',
12
11
  plugins: [
13
- glsl({ minify: true }),
14
- http()
12
+ glsl({ minify: true })
15
13
  ],
16
14
  outfile: 'bundle.js',
17
15
  minify: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@footgun/cobalt",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "main": "bundle.js",
6
6
  "description": "A 2D WebGpu renderer",
@@ -23,14 +23,13 @@
23
23
  "prepublishOnly": "npm run build"
24
24
  },
25
25
  "devDependencies": {
26
- "@hyrious/esbuild-plugin-http": "^0.1.5",
27
26
  "@webgpu/types": "^0.1.51",
28
- "esbuild": "^0.24.0",
27
+ "esbuild": "^0.25.0",
29
28
  "esbuild-plugin-glsl": "^1.1.0"
30
29
  },
31
30
  "dependencies": {
32
31
  "cdt2d": "^1.0.0",
33
- "poly-to-pslg": "^1.0.1",
32
+ "poly-to-pslg": "github:mreinstein/poly-to-pslg",
34
33
  "remove-array-items": "^3.0.0",
35
34
  "round-half-up-symmetric": "^2.0.0",
36
35
  "wgpu-matrix": "^3.3.0"
@@ -1,6 +1,5 @@
1
1
  import cdt2d from 'cdt2d'
2
- import poly2pslg from 'https://cdn.skypack.dev/poly-to-pslg'
3
- //import cleanPSLG from 'https://cdn.skypack.dev/pin/clean-pslg@v1.1.2-Vmc159bOYXS2a4zKtz3Q/mode=imports,min/optimized/clean-pslg.js'
2
+ import poly2pslg from 'poly-to-pslg'
4
3
  import { mat3, vec2 } from 'wgpu-matrix'
5
4
 
6
5