mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(build): move to rollup for e2e, move to es6 imports and type definitions
move to rollup for e2e, move to es6 imports and type definitions
This commit is contained in:
@@ -43,9 +43,7 @@
|
||||
document.body.classList.remove('rtl');
|
||||
}
|
||||
</script>
|
||||
<script src="/webpack-dev-server.js"></script>
|
||||
<script src="../../../../../../dist/ionic-angular/polyfills/polyfills.js"></script>
|
||||
<script src="../../../../vendor.js"></script>
|
||||
<script src="./index.js"></script>
|
||||
<script src="../../../../polyfills/polyfills.ng.js"></script>
|
||||
<script src="./app.bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"module": "es2015",
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2015"
|
||||
],
|
||||
"moduleResolution": "node",
|
||||
"declaration": true,
|
||||
"noImplicitAny": false,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"skipMetadataEmit": true
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
import 'core-js/es6';
|
||||
import 'core-js/es7/reflect';
|
||||
import 'zone.js/dist/zone';
|
||||
import 'zone.js/dist/proxy';
|
||||
import 'zone.js/dist/long-stack-trace-zone';
|
||||
@@ -1,10 +0,0 @@
|
||||
// Angular 2
|
||||
import '@angular/platform-browser';
|
||||
import '@angular/platform-browser-dynamic';
|
||||
import '@angular/common';
|
||||
import '@angular/core';
|
||||
import '@angular/http';
|
||||
|
||||
// RxJS
|
||||
import 'rxjs/add/operator/map';
|
||||
import 'rxjs/add/operator/mergeMap';
|
||||
@@ -1,34 +0,0 @@
|
||||
var entryData = require('./webpackEntryPoints.json');
|
||||
var path = require('path')
|
||||
|
||||
entryData["dist/e2e/vendor"] = "./scripts/e2e/vendor";
|
||||
entryData["dist/e2e/polyfills"] = "./scripts/e2e/polyfills";
|
||||
|
||||
module.exports = {
|
||||
devtool: "source-map",
|
||||
|
||||
entry: entryData,
|
||||
|
||||
output: {
|
||||
"path": path.join(__dirname, '../../'),
|
||||
"filename": "[name].js"
|
||||
},
|
||||
|
||||
resolve: {
|
||||
extensions: ["", ".js", ".json"],
|
||||
mainFields: ["module", "browser"]
|
||||
},
|
||||
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test : /\.css$/,
|
||||
loader : 'file-loader?config=cssLoader'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
cssLoader: {
|
||||
name: 'test/css/[name]-[hash].[ext]'
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user