-
Notifications
You must be signed in to change notification settings - Fork 418
Expand file tree
/
Copy pathindex.js
More file actions
24 lines (22 loc) · 671 Bytes
/
index.js
File metadata and controls
24 lines (22 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const paths = require('./scripts/utils/paths');
function deprecate(helper) {
throw new Error(`The "${helper}" helper has been deprecated as of v2.0. You can use customize-cra plugins in replacement - https://github.com/arackaf/customize-cra#available-plugins`);
}
module.exports = {
getLoader: function() {
return deprecate('getBabelLoader');
},
loaderNameMatches: function() {
return deprecate('loaderNameMatches');
},
getBabelLoader: function() {
return deprecate('getBabelLoader');
},
injectBabelPlugin: function() {
return deprecate('injectBabelPlugin');
},
compose: function() {
return deprecate('compose');
},
paths
};