@imtf/profile-scripts 1.0.2 → 1.0.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/package.json +1 -1
- package/scripts/esbuild.mjs +4 -1
package/package.json
CHANGED
package/scripts/esbuild.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { build } from 'esbuild'
|
|
2
|
-
import svgrPlugin from 'esbuild-plugin-svgr'
|
|
3
2
|
import externalGlobalPlugin from 'esbuild-plugin-external-global'
|
|
3
|
+
import svgrPlugin from 'esbuild-plugin-svgr'
|
|
4
4
|
import minimist from 'minimist'
|
|
5
5
|
|
|
6
6
|
const { watch } = minimist(process.argv.slice(2))
|
|
@@ -30,9 +30,12 @@ build({
|
|
|
30
30
|
// Enable JSX in .js files too
|
|
31
31
|
'.js': 'jsx',
|
|
32
32
|
// Embed fonts
|
|
33
|
+
'.eot': 'dataurl',
|
|
34
|
+
'.ttf': 'dataurl',
|
|
33
35
|
'.woff': 'dataurl',
|
|
34
36
|
'.woff2': 'dataurl',
|
|
35
37
|
// Embed images
|
|
38
|
+
'.gif': 'dataurl',
|
|
36
39
|
'.jpg': 'dataurl',
|
|
37
40
|
'.png': 'dataurl',
|
|
38
41
|
},
|