Commit 3fa636fa authored by Michael Helvey's avatar Michael Helvey Committed by Naoyuki Kanezawa

Expose css, link, and head in package. (#154)

* Expose next/css, next/link, and next/head.

This allows test runners like Jest and ESLint's file resolver to
be able to find exported modules within `next`.

Fixes #113

* Removed semicolons for linting and expose modules.
parent 4ea93372
module.exports = require('./dist/lib/css')
module.exports = require('./dist/lib/head')
module.exports = require('./dist/lib/link')
...@@ -6,7 +6,10 @@ ...@@ -6,7 +6,10 @@
"license": "MIT", "license": "MIT",
"repository": "zeit/next.js", "repository": "zeit/next.js",
"files": [ "files": [
"dist" "dist",
"link.js",
"css.js",
"head.js"
], ],
"bin": { "bin": {
"next": "./dist/bin/next" "next": "./dist/bin/next"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment