|
@@ -86,6 +86,7 @@ function createWebpack (ENV, context) {
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
+ exclude: [/semantic-ui-css/],
|
|
|
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
|
|
|
use: [
|
|
|
{
|
|
@@ -99,6 +100,7 @@ function createWebpack (ENV, context) {
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
+ exclude: [/semantic-ui-css/],
|
|
|
test: [/\.eot$/, /\.ttf$/, /\.svg$/, /\.woff$/, /\.woff2$/],
|
|
|
use: [
|
|
|
{
|
|
@@ -109,6 +111,15 @@ function createWebpack (ENV, context) {
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ include: [/semantic-ui-css/],
|
|
|
+ test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/, /\.eot$/, /\.ttf$/, /\.svg$/, /\.woff$/, /\.woff2$/],
|
|
|
+ use: [
|
|
|
+ {
|
|
|
+ loader: require.resolve('null-loader')
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -157,13 +168,13 @@ function createWebpack (ENV, context) {
|
|
|
chunks: 'initial',
|
|
|
enforce: true,
|
|
|
name: 'other.01',
|
|
|
- test: /node_modules\/(@babel|ansi-styles|asn1|browserify-|chalk|color|color-|crypto-browserify|des\.js|diffie-hellman|elliptic|event-emitter|events|eventemitter3|hash|hmac-drbg|js-sha3|lodash|md5|memoizee|miller-rabin|object-|path-|parse-asn1|pbkdf2|process|public-encrypt|query-string|ripemd160|readable-stream|regenerator-runtime|rtcpeerconnection-shim|stream-browserify|store|timers-browserify|tslib|unified|unist-util|util|vfile|vm-browserify|webrtc-adapter|whatwg-fetch|xxhashjs)/
|
|
|
+ test: /node_modules\/(@babel|ansi-styles|asn1|browserify-|buffer|chalk|color|color-|crypto-browserify|des\.js|diffie-hellman|elliptic|event-emitter|events|eventemitter3|hash|hmac-drbg|js-sha3|lodash|memoizee|object-|path-|parse-asn1|pbkdf2|process|public-encrypt|query-string|ripemd160|readable-stream|regenerator-runtime|rtcpeerconnection-shim|safe-buffer|stream-browserify|store|timers-browserify|tslib|unified|unist-util|util|vfile|vm-browserify|webrtc-adapter|whatwg-fetch|xxhashjs)/
|
|
|
},
|
|
|
vendor02: {
|
|
|
chunks: 'initial',
|
|
|
enforce: true,
|
|
|
name: 'other.02',
|
|
|
- test: /node_modules\/(attr-accept|base-x|base64-js|blakejs|bip39|bip66|bn\.js|brorand|buffer|camelcase|cipher-base|core-js|core-util|create-|cuint|decode-uri|deep-equal|define-properties|detect-browser|es-abstract|es5-ext|es6-symbol|extend|function-bind|has-symbols|history|html-parse|ieee754|ip-|is-|minimalistic-crypto-utils|moment|next-tick|node-libs-browser|randombytes|randomfill|regexp|rxjs|safe-buffer|scheduler|sdp|secp256k1|setimmediate|sha\.js|through)/
|
|
|
+ test: /node_modules\/(attr-accept|base-x|base64-js|blakejs|bip39|bip66|bn\.js|brorand|camelcase|cipher-base|core-js|core-util|create-|cuint|decode-uri|deep-equal|define-properties|detect-browser|es-abstract|es5-ext|es6-symbol|extend|function-bind|has-symbols|history|html-parse|ieee754|ip-|is-|md5|miller-rabin|minimalistic-crypto-utils|moment|next-tick|node-libs-browser|randombytes|randomfill|regexp|rxjs|scheduler|sdp|secp256k1|setimmediate|sha\.js|through)/
|
|
|
}
|
|
|
}
|
|
|
}
|