Skip to content

Commit

Permalink
node resolve fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haruaki07 committed Nov 27, 2020
1 parent e1c3be3 commit 27f3ee8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phosphor-svelte",
"version": "0.1.1",
"version": "0.2.0",
"description": "A clean and friendly icon family for Svelte",
"svelte": "src/index.js",
"module": "index.mjs",
Expand All @@ -14,7 +14,7 @@
"build": "npm run build:icon && npm run build:rollup",
"build:rollup": "rollup -c",
"build:icon": "node ./build.js",
"prepublish": "npm run build"
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import svelte from "rollup-plugin-svelte";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import resolve from "@rollup/plugin-node-resolve";
import { terser } from "rollup-plugin-terser";

import pkg from "./package.json";
Expand All @@ -15,5 +15,5 @@ export default {
{ file: pkg.module, format: "es" },
{ file: pkg.main, format: "umd", name },
],
plugins: [svelte(), nodeResolve(), terser()],
plugins: [svelte(), resolve(), terser()],
};

0 comments on commit 27f3ee8

Please sign in to comment.