File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ var webpackConfig = {
157
157
loader : 'babel-loader' ,
158
158
exclude : [ / n o d e _ m o d u l e s / ]
159
159
} ,
160
+ {
161
+ test : / \. e s 6 $ / ,
162
+ loader : 'babel-loader'
163
+ } ,
160
164
{
161
165
test : / \. v u e $ / ,
162
166
loader : 'vue-loader' ,
@@ -198,7 +202,7 @@ if (options.mount === undefined && !options.lib && /\.vue$/.test(options.entry))
198
202
// set an alias to the path of the component
199
203
// otherwise use it directly as webpack entry
200
204
if ( options . mount ) {
201
- webpackConfig . entry . client . push ( path . join ( __dirname , '../lib/default-entry' ) )
205
+ webpackConfig . entry . client . push ( path . join ( __dirname , '../lib/default-entry.es6 ' ) )
202
206
webpackConfig . resolve . alias [ 'your-tasteful-component' ] = options . entry
203
207
} else {
204
208
webpackConfig . entry . client . push ( options . entry )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments