Skip to content

Commit 2701213

Browse files
Added main to package.json pointing to src-dir.
1 parent e3fbd02 commit 2701213

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"author": "Wouter van Boesschoten <[email protected]>",
3-
"name": "localCookies",
4-
"version": "0.0.1",
3+
"name": "localCookie",
4+
"version": "1.1.0",
55
"license": "apache",
6-
"main": "index.js",
6+
"main": "src/localCookie.js",
7+
"module": "module/localCookie.js",
8+
"browser": "dist/localCookie.js",
79
"scripts": {
810
"build": "rollup -c rollup.config.js",
911
"watch": "rollup -c rollup.config.js --watch",

rollup.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import babel from 'rollup-plugin-babel'
22
import resolve from 'rollup-plugin-node-resolve'
33
import commonjs from 'rollup-plugin-commonjs'
4-
//import { uglify } from 'rollup-plugin-uglify'
54
import uglify from 'rollup-plugin-uglify-es';
65
import peerDepsExternal from 'rollup-plugin-peer-deps-external'
76

0 commit comments

Comments
 (0)