File tree Expand file tree Collapse file tree 3 files changed +10
-21
lines changed Expand file tree Collapse file tree 3 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 31
31
"scripts" : {
32
32
"prepare" : " node ./bin/package_prepare.js" ,
33
33
"development" : " npm run prepare && NODE_ENV=development webpack --bail --config=webpack.build.config.js" ,
34
- "development:watch" : " npm run prepare && NODE_ENV=development webpack --bail --config=webpack.build.config.js" ,
34
+ "development:watch" : " npm run prepare && NODE_ENV=development:watch webpack --bail --config=webpack.build.config.js" ,
35
35
"production" : " npm run prepare && NODE_ENV=production webpack --bail --config=webpack.build.config.js" ,
36
36
"production:watch" : " npm run prepare && NODE_ENV=production:watch webpack --config=webpack.build.config.js --watch" ,
37
37
"production:stat" : " npm run prepare && NODE_ENV=production:stat webpack --config=webpack.build.config.js" ,
Original file line number Diff line number Diff line change 1
1
2
- const PACKAGE = { "name" :"AnimationFrame" , "version" :"1.0.49 " } ;
2
+ const PACKAGE = { "name" :"AnimationFrame" , "version" :"1.0.50 " } ;
3
3
export default PACKAGE ;
4
4
module . exports = PACKAGE ;
Original file line number Diff line number Diff line change @@ -113,7 +113,10 @@ module.exports = {
113
113
module : {
114
114
loaders : [
115
115
{
116
- test : / l i b \/ ( .* ) \. t s ( x ? ) $ / ,
116
+ test : / \. t s ( x ? ) $ / ,
117
+ include : [
118
+ path . resolve ( __dirname , "lib" )
119
+ ] ,
117
120
use : [
118
121
{
119
122
loader : replacements
@@ -131,24 +134,10 @@ module.exports = {
131
134
]
132
135
} ,
133
136
{
134
- test : / ( s p e c | s r c | p o l y f i l l s ) \/ ( .* ) \. t s ( x ? ) $ / ,
135
- use : [
136
- {
137
- loader : replacements
138
- } ,
139
- {
140
- loader : "babel-loader" ,
141
- options : {
142
- presets : [ "es2015" ]
143
- }
144
- } ,
145
- {
146
- loader : "ts-loader"
147
- }
148
- ]
149
- } ,
150
- {
151
- test : / p a c k a g e \. t s ( x ? ) $ / ,
137
+ test : / \. t s ( x ? ) $ / ,
138
+ exclude : [
139
+ path . resolve ( __dirname , "lib" )
140
+ ] ,
152
141
use : [
153
142
{
154
143
loader : replacements
You can’t perform that action at this time.
0 commit comments