Move gist-embed to CDN

This commit is contained in:
Yukai Huang 2016-10-14 09:56:19 +08:00
parent 3d1bc8a8cb
commit 4c1109b70b
6 changed files with 4 additions and 9 deletions

View file

@ -81,7 +81,6 @@ module.exports = {
locale: path.join(__dirname, 'public/js/locale.js'),
vendor: [
"imports?$=jquery!jquery-mousewheel",
"script!gist-embed",
"expose?filterXSS!xss",
"js-url",
"expose?Spinner!spin.js",
@ -160,11 +159,7 @@ module.exports = {
}, {
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
loader: "url?limit=10000&mimetype=image/svg+xml"
}],
noParse: [
"gist-embed"
]
}]
},
node: {