File tree Expand file tree Collapse file tree 6 files changed +7
-39
lines changed Expand file tree Collapse file tree 6 files changed +7
-39
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ var _createClass3 = _interopRequireDefault(_createClass2);
19
19
function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
20
20
21
21
var path = require ( 'path' ) ;
22
- var ExtractTextPlugin = require ( 'extract-text-webpack-plugin-ignore-order ' ) ;
22
+ var ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
23
23
var CaseSensitivePathsPlugin = require ( 'case-sensitive-paths-webpack-plugin' ) ;
24
24
25
25
var normalize = require ( '../utils/path' ) . normalize ;
Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ var fs = require('fs');
39
39
40
40
var Config = require ( './Config.js' ) ;
41
41
var Manager = require ( '../modules/manager.js' ) ;
42
- var ExtractTextPlugin = require ( 'extract-text-webpack-plugin-ignore-order' ) ;
43
- var originExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
42
+ var ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
44
43
45
44
var UtilFs = require ( '../utils/fs.js' ) ;
46
45
var UtilPath = require ( '../utils/path.js' ) ;
@@ -407,7 +406,7 @@ var Project = function () {
407
406
408
407
// 如果没有 ExtractTextPlugin 则为项目添加一个
409
408
var isExtractTextPluginExists = config . plugins . some ( function ( plugin ) {
410
- return plugin instanceof originExtractTextPlugin ;
409
+ return plugin instanceof ExtractTextPlugin ;
411
410
} ) ;
412
411
if ( ! isExtractTextPluginExists ) {
413
412
config . plugins . push ( new ExtractTextPlugin ( config . output . filename . replace ( '[ext]' , '.css' ) ) ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ykit" ,
3
- "version" : " 0.6.0 " ,
3
+ "version" : " 0.6.1 " ,
4
4
"description" : " 高可用高扩展前端开发工具" ,
5
5
"main" : " src/ykit.js" ,
6
6
"bin" : {
30
30
"eslint" : " 2.13.1" ,
31
31
"extend" : " ^3.0.0" ,
32
32
"extract-text-webpack-plugin" : " ^1.0.1" ,
33
- "extract-text-webpack-plugin-ignore-order" : " ^1.1.1" ,
34
33
"fs-extra" : " ^1.0.0" ,
35
34
"globby" : " ^5.0.0" ,
36
35
"html-loader" : " ^0.4.3" ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
const path = require ( 'path' ) ;
3
- const ExtractTextPlugin = require ( 'extract-text-webpack-plugin-ignore-order ' ) ;
3
+ const ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
4
4
const CaseSensitivePathsPlugin = require ( 'case-sensitive-paths-webpack-plugin' ) ;
5
5
6
6
const normalize = require ( '../utils/path' ) . normalize ;
Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ const fs = require('fs');
9
9
10
10
const Config = require ( './Config.js' ) ;
11
11
const Manager = require ( '../modules/manager.js' ) ;
12
- const ExtractTextPlugin = require ( 'extract-text-webpack-plugin-ignore-order' ) ;
13
- const originExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
12
+ const ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
14
13
15
14
const UtilFs = require ( '../utils/fs.js' ) ;
16
15
const UtilPath = require ( '../utils/path.js' ) ;
@@ -389,7 +388,7 @@ class Project {
389
388
390
389
// 如果没有 ExtractTextPlugin 则为项目添加一个
391
390
const isExtractTextPluginExists = config . plugins . some ( ( plugin ) => {
392
- return plugin instanceof originExtractTextPlugin ;
391
+ return plugin instanceof ExtractTextPlugin ;
393
392
} ) ;
394
393
if ( ! isExtractTextPluginExists ) {
395
394
config . plugins . push ( new ExtractTextPlugin ( config . output . filename . replace ( '[ext]' , '.css' ) ) ) ;
Original file line number Diff line number Diff line change @@ -1999,15 +1999,6 @@ extglob@^0.3.1:
1999
1999
dependencies :
2000
2000
is-extglob "^1.0.0"
2001
2001
2002
- extract-text-webpack-plugin-ignore-order@^1.1.1 :
2003
- version "1.1.1"
2004
- resolved "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/extract-text-webpack-plugin-ignore-order/-/extract-text-webpack-plugin-ignore-order-1.1.1.tgz#32afcacb95608f0abc35e175530c5bde71e2f59f"
2005
- dependencies :
2006
- async "^1.5.0"
2007
- loader-utils "^0.2.3"
2008
- webpack "^1.12.2"
2009
- webpack-sources "^0.1.0"
2010
-
2011
2002
extract-text-webpack-plugin@^1.0.1 :
2012
2003
version "1.0.1"
2013
2004
resolved "http://registry.npm.corp.qunar.com/extract-text-webpack-plugin/download/extract-text-webpack-plugin-1.0.1.tgz#c95bf3cbaac49dc96f1dc6e072549fbb654ccd2c"
@@ -5645,26 +5636,6 @@ webpack@1.14.0:
5645
5636
watchpack "^0.2.1"
5646
5637
webpack-core "~0.6.9"
5647
5638
5648
- webpack@^1.12.2 :
5649
- version "1.15.0"
5650
- resolved "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/webpack/-/webpack-1.15.0.tgz#4ff31f53db03339e55164a9d468ee0324968fe98"
5651
- dependencies :
5652
- acorn "^3.0.0"
5653
- async "^1.3.0"
5654
- clone "^1.0.2"
5655
- enhanced-resolve "~0.9.0"
5656
- interpret "^0.6.4"
5657
- loader-utils "^0.2.11"
5658
- memory-fs "~0.3.0"
5659
- mkdirp "~0.5.0"
5660
- node-libs-browser "^0.7.0"
5661
- optimist "~0.6.0"
5662
- supports-color "^3.1.0"
5663
- tapable "~0.1.8"
5664
- uglify-js "~2.7.3"
5665
- watchpack "^0.2.1"
5666
- webpack-core "~0.6.9"
5667
-
5668
5639
whet.extend@~0.9.9 :
5669
5640
version "0.9.9"
5670
5641
resolved "http://registry.npm.corp.qunar.com/whet.extend/download/whet.extend-0.9.9.tgz#f877d5bf648c97e5aa542fadc16d6a259b9c11a1"
You can’t perform that action at this time.
0 commit comments