Añadido raw loader para hacer require de plantillas HTML, archivos js obsoletos de componentes borrados

This commit is contained in:
Juan Ferrer Toribio 2016-09-29 07:28:56 +02:00
parent 8332027bf9
commit ee100502df
7 changed files with 5 additions and 60 deletions

View File

@ -1,14 +0,0 @@
import core from '../core'
import util from '../util'
const NAME = 'button-icon'
core.directive(util.getname(name),function(name?,attrs){
return{
templateUrl: NAME + '.' + util.getStyle() + '.html',
icon: attrs.icon,
className: 'default_button',
enabled: attrs.enabled
}
})

View File

@ -1,15 +0,0 @@
import core from '../core'
import util from '../util'
const NAME = 'checkbox'
core.directive(util.getname(name),function(name?,attrs){
return{
templateUrl: NAME + '.' + util.getStyle() + '.html',
texto: attrs.text,
className: 'default_button',
enabled: attrs.enabled,
typeName: attrs.typeName
}
})

View File

@ -1,10 +0,0 @@
import core from '../core'
import util from '../util'
const NAME = 'button'
core.directive(util.getname(name),function(){
return{
templateUrl: NAME + '.' + STYLE + '.html'
}
})

View File

@ -1,10 +0,0 @@
import core from '../core'
import util from '../util'
const NAME = 'button'
core.directive(util.getname(name),function(){
return{
templateUrl: NAME + '.' + STYLE + '.html'
}
})

View File

@ -1,10 +0,0 @@
import core from '../core'
import util from '../util'
const NAME = 'button'
core.directive(util.getname(name),function(){
return{
templateUrl: NAME + '.' + STYLE + '.html'
}
})

View File

@ -20,7 +20,8 @@
"css-loader": "*",
"file-loader": "*",
"json-loader": "*",
"style-loader": "*"
"style-loader": "*",
"raw-loader": "*"
},
"scripts": {
"build": "rm build/* ; webpack --progress --colors"

View File

@ -23,6 +23,9 @@ module.exports =
query: {
presets: ['es2015']
}
},{
test: /\.html$/,
loader: 'raw'
}
]
},