1.1.0 • Published 6 months ago
rollup-plugin-sham-ui-templates v1.1.0
Rollup plugin for compile sham-ui templates
yarn add -D rollup-plugin-sham-ui-templates
Usage
import shamUICompiler from 'rollup-plugin-sham-ui-templates';
import { babel } from '@rollup/plugin-babel';
export default {
input: 'src/main.js',
output: {
file: 'dist/bundle.js',
format: 'iife',
sourcemap: true
},
plugins: [
shamUICompiler( {
extensions: [ '.sht' ]
} ),
shamUICompiler( {
extensions: [ '.sfc' ],
compilerOptions: {
asModule: false,
asSingleFileComponent: true
}
} ),
babel( {
extensions: [ '.js', '.sht', '.sfc' ],
exclude: [ 'node_modules/**' ],
babelHelpers: 'bundled'
} )
]
};
1.1.0
6 months ago
1.0.22
7 months ago
1.0.21
8 months ago
1.0.19
2 years ago
1.0.20
1 year ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago