This repository was archived by the owner on Dec 28, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * vue-image-loader v1.0.2
3+ * https://github.com/eduardostuart/vue-image-loader
4+ * MIT License
5+ */
6+
17( function webpackUniversalModuleDefinition ( root , factory ) {
28 if ( typeof exports === 'object' && typeof module === 'object' )
39 module . exports = factory ( ) ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ <h5>Error (using custom timeout - 10s)</h5>
4646
4747
4848 < script src ="../node_modules/vue/dist/vue.js "> </ script >
49- < script src ="../index .js "> </ script >
49+ < script src ="../dist/vue-image-loader .js "> </ script >
5050 < script src ="./example.js "> </ script >
5151
5252</ body >
Original file line number Diff line number Diff line change 1- 'use strict'
2-
31import VueImageLoader from './VueImageLoader.vue'
42
53export function install ( Vue , options ) {
Original file line number Diff line number Diff line change 11var webpack = require ( 'webpack' ) ;
2+ var version = require ( "./package.json" ) . version ;
3+ var banner =
4+ "/**\n" +
5+ " * vue-image-loader v" + version + "\n" +
6+ " * https://github.com/eduardostuart/vue-image-loader\n" +
7+ " * MIT License\n" +
8+ " */\n" ;
29
310module . exports = {
411 entry : './src/main.js' ,
512 output : {
6- filename : 'dist/vue-image-loader.js' ,
13+ path :'./dist' ,
14+ filename : 'vue-image-loader.js' ,
715 library : 'VueImageLoader' ,
816 libraryTarget : 'umd'
917 } ,
18+ plugins : [
19+ new webpack . BannerPlugin ( banner , { raw : true } )
20+ ] ,
1021 module : {
1122 loaders : [ {
1223 test : / \. v u e $ / ,
You can’t perform that action at this time.
0 commit comments