1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

Migrate to Polymer 2 (#370)

* Update bower.json to point at Polymer 2

* No longer use babel to run node scripts

* Refer to CSS from static dir

* Fix some panel bugs
This commit is contained in:
Paulus Schoutsen
2017-08-03 23:40:16 -07:00
committed by GitHub
parent 17519cce30
commit 572f92fd1e
14 changed files with 50 additions and 100 deletions

View File

@@ -1,8 +1,8 @@
import commonjs from 'rollup-plugin-commonjs';
import nodeResolve from 'rollup-plugin-node-resolve';
import replace from 'rollup-plugin-replace';
import babel from 'rollup-plugin-babel';
import uglify from 'rollup-plugin-uglify';
const commonjs = require('rollup-plugin-commonjs');
const nodeResolve = require('rollup-plugin-node-resolve');
const replace = require('rollup-plugin-replace');
const babel = require('rollup-plugin-babel');
const uglify = require('rollup-plugin-uglify');
const DEV = !!JSON.parse(process.env.BUILD_DEV || 'true');
const DEMO = !!JSON.parse(process.env.BUILD_DEMO || 'false');
@@ -49,7 +49,7 @@ if (!DEV) {
plugins.push(uglify());
}
export default {
module.exports = {
format: 'iife',
exports: 'none',
treeshake: true,