@vnejs/plugins.font.montserrat 0.1.1 → 0.1.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.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { injectStyles } from "@vnejs/uis.utils";
2
- import fontUrl from "./montserrat.ttf";
2
+ import fontUrl from "../montserrat.ttf";
3
3
  injectStyles(`
4
4
  @font-face {
5
5
  font-family: Montserrat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.font.montserrat",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,11 +15,12 @@
15
15
  "files": [
16
16
  "dist",
17
17
  "src",
18
+ "montserrat.ttf",
18
19
  "tsconfig.json"
19
20
  ],
20
21
  "scripts": {
21
22
  "test": "echo \"Error: no test specified\" && exit 1",
22
- "build": "npx @vnejs/monorepo package && cp src/montserrat.ttf dist/",
23
+ "build": "npx @vnejs/monorepo package",
23
24
  "publish:major:plugin": "npm run publish:major",
24
25
  "publish:minor:plugin": "npm run publish:minor",
25
26
  "publish:patch:plugin": "npm run publish:patch",
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { injectStyles } from "@vnejs/uis.utils";
2
2
 
3
- import fontUrl from "./montserrat.ttf";
3
+ import fontUrl from "../montserrat.ttf";
4
4
 
5
5
  injectStyles(`
6
6
  @font-face {
File without changes