@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"/example/js/spritemap.js": "/example/js/spritemap.js?version=f464bb8bff227fdb32109459b97ac778",
|
||||||
|
"/example/symbol-defs.svg": "/example/symbol-defs.svg?version=a8d884258d50d4545fa128d8c1164151",
|
||||||
|
"/example/js/example.js": "/example/js/example.js?version=cc8851cc28fbd291bb48f30f0021d2a6",
|
||||||
|
"/example/css/styles.css": "/example/css/styles.css?version=265d430becfad1bc25c71c1ac373d0b1"
|
||||||
|
}
|
||||||
@ -0,0 +1 @@
|
|||||||
|
(self.webpackChunk_tiny_components_datepicker=self.webpackChunk_tiny_components_datepicker||[]).push([["spritemap"],{"?4e0c"(){eval("{\n\n//# sourceURL=webpack://@tiny-components/datepicker/spritemap-dummy-module?\n}")}}]);
|
||||||
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 967 B |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 363 B |
|
After Width: | Height: | Size: 361 B |
@ -1,14 +0,0 @@
|
|||||||
import observable from '@riotjs/observable'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* store for datepicker
|
|
||||||
*
|
|
||||||
* @author Björn Hase
|
|
||||||
* @license http://opensource.org/licenses/MIT The MIT License
|
|
||||||
* @link https://gitea.node001.net/tiny-components/confirm
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
export default observable({
|
|
||||||
|
|
||||||
})
|
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
const tinyComponentsWebpack = require('@tiny-components/webpack')
|
||||||
|
const riotRules = require('@tiny-components/webpack/rules/riot')
|
||||||
|
const path = require('path')
|
||||||
|
|
||||||
|
module.exports = tinyComponentsWebpack({
|
||||||
|
example: [ './src/example.js' ],
|
||||||
|
styles: [ './src/example.scss' ],
|
||||||
|
}, {
|
||||||
|
publicPath: '/example/',
|
||||||
|
destination: path.resolve(process.cwd(), 'example'),
|
||||||
|
rules: [ riotRules ],
|
||||||
|
svg: {
|
||||||
|
src: [
|
||||||
|
'./src/icons/*.svg'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
purge: {
|
||||||
|
src: path.join(__dirname, './**')
|
||||||
|
}
|
||||||
|
})
|
||||||
@ -1,84 +0,0 @@
|
|||||||
const mix = require('laravel-mix')
|
|
||||||
const path = require('path')
|
|
||||||
|
|
||||||
require('laravel-mix-purgecss')
|
|
||||||
|
|
||||||
// plugins
|
|
||||||
const SvgSpritemapPlugin = require('svg-spritemap-webpack-plugin')
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Mix Asset Management
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Mix provides a clean, fluent API for defining some Webpack build steps
|
|
||||||
| for your Laravel applications. By default, we are compiling the CSS
|
|
||||||
| file for the application as well as bundling up all the JS files.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
mix.webpackConfig({
|
|
||||||
module: {
|
|
||||||
rules: [{
|
|
||||||
test: /\.riot$/,
|
|
||||||
use: [{
|
|
||||||
loader: '@riotjs/webpack-loader',
|
|
||||||
options: {
|
|
||||||
hot: false
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
]},
|
|
||||||
plugins: [
|
|
||||||
new SvgSpritemapPlugin([
|
|
||||||
'node_modules/@tiny-components/plain-ui/src/icons/mono-icons/svg/*.svg',
|
|
||||||
'src/icons/brands/*.svg'
|
|
||||||
], {
|
|
||||||
output: {
|
|
||||||
filename: 'symbol-defs.svg',
|
|
||||||
chunk: {
|
|
||||||
keep: true
|
|
||||||
},
|
|
||||||
svgo: {
|
|
||||||
plugins: [{
|
|
||||||
name: 'convertStyleToAttrs',
|
|
||||||
active: true
|
|
||||||
},{
|
|
||||||
name: 'removeStyleElement',
|
|
||||||
active: true
|
|
||||||
}, {
|
|
||||||
name: 'removeAttrs',
|
|
||||||
params: {
|
|
||||||
attrs: 'fill'
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
sprite: {
|
|
||||||
prefix: 'icon-'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
]
|
|
||||||
})
|
|
||||||
|
|
||||||
mix
|
|
||||||
.setPublicPath('./example')
|
|
||||||
.js('src/example.js', 'example')
|
|
||||||
.sass('src/example.scss', 'example')
|
|
||||||
.purgeCss({
|
|
||||||
extend: {
|
|
||||||
content: [
|
|
||||||
path.join(__dirname, 'src/**.riot'),
|
|
||||||
path.join(__dirname, 'src/**.js'),
|
|
||||||
path.join(__dirname, 'example/index.html')
|
|
||||||
]
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.options({
|
|
||||||
terser: {
|
|
||||||
extractComments: false,
|
|
||||||
},
|
|
||||||
processCssUrls: false
|
|
||||||
})
|
|
||||||
.copyDirectory('node_modules/@tiny-components/plain-ui/src/fonts/IBM*', 'example')
|
|
||||||