提交 3fa636fa 编写于 作者: M Michael Helvey 提交者: 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.
上级 4ea93372
module.exports = require('./dist/lib/css')
module.exports = require('./dist/lib/head')
module.exports = require('./dist/lib/link')
......@@ -6,7 +6,10 @@
"license": "MIT",
"repository": "zeit/next.js",
"files": [
"dist"
"dist",
"link.js",
"css.js",
"head.js"
],
"bin": {
"next": "./dist/bin/next"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册