build(pjax): link with alias

This commit is contained in:
EnixCoda 2018-06-04 23:27:11 +08:00
parent b9c507f736
commit d6905efdc4
3 changed files with 1 additions and 5 deletions

View file

@ -14,7 +14,6 @@
"dependencies": {
"nprogress": "^0.2.0",
"octicons": "^7.1.0",
"pjax": "^0.2.4",
"preact": "^8.2.6",
"preact-portal": "^1.1.3"
},

View file

@ -49,6 +49,7 @@ module.exports = {
alias: {
react: 'preact', // for svgr
},
modules: ['packages', 'node_modules']
},
module: {
rules: [

View file

@ -3404,10 +3404,6 @@ pify@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
pjax@^0.2.4:
version "0.2.4"
resolved "https://registry.yarnpkg.com/pjax/-/pjax-0.2.4.tgz#0ae5885cfe663eb6a786156ed9c3de5bcb627513"
pkg-dir@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"