File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -159,19 +159,12 @@ function addTemplates (options) {
159
159
// Extend webpack config
160
160
// ----------------------------------------------------------
161
161
function extendConfig ( config , options ) {
162
- // Don't exclude babel for F7 stuff
163
- const babelLoader = config . module . rules . find ( r => r . loader === 'babel-loader' )
164
- babelLoader . exclude = / n o d e _ m o d u l e s \/ (? ! ( f r a m e w o r k 7 | f r a m e w o r k 7 - v u e | t e m p l a t e 7 | d o m 7 ) \/ ) .* /
165
-
166
162
// Increase performance check limits to 2M (non-gzipped)
167
163
const MAX_SIZE = 2 * 1024 * 1024
168
164
Object . assign ( config . performance , {
169
165
maxEntrypointSize : MAX_SIZE ,
170
166
maxAssetSize : MAX_SIZE
171
167
} )
172
-
173
- // Disable warning for babel on framework7 dist files
174
- babelLoader . options . compact = false
175
168
}
176
169
177
170
// ----------------------------------------------------------
You can’t perform that action at this time.
0 commit comments