Skip to content
Snippets Groups Projects
Commit bfbb0efb authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Move implementation into src

parent d1f4470c
No related branches found
No related tags found
No related merge requests found
Showing
with 11 additions and 6 deletions
module.exports = {
input: [
'*.js',
'src/*.js',
],
output: './',
options: {
debug: false,
removeUnusedKeys: true,
sort: true,
lngs: ['en','de'],
resource: {
loadPath: 'src/i18n/{{lng}}/{{ns}}.json',
savePath: 'src/i18n/{{lng}}/{{ns}}.json'
},
},
}
{
"name": "vpu-notification",
"version": "1.0.0",
"main": "src/index.js",
"devDependencies": {
"node-sass": "^4.12.0",
"rollup": "^1.11.3",
......
......@@ -11,7 +11,7 @@ const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : '
console.log("build: " + build);
export default {
input: 'index.js',
input: 'src/demo.js',
output: {
file: 'dist/bundle.js',
format: 'esm'
......@@ -31,8 +31,8 @@ export default {
(build !== 'local') ? terser() : false,
copy({
targets: [
'index.html',
'favicon.ico',
'assets/index.html',
'assets/favicon.ico',
'node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js',
'node_modules/@webcomponents/webcomponentsjs/bundles',
],
......
import './vpu-notification';
import './vpu-notification-demo';
File moved
import './vpu-notification';
File moved
import {i18n} from './i18n';
import notification from './notification';
import {html, LitElement} from 'lit-element';
import './vpu-notification';
class NotificationDemo extends LitElement {
constructor() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment