Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed unused generated packages
  • Loading branch information
Rishabh Karnad committed Jul 18, 2019
commit 81698f6de2a84837a41f1e7a688ff3f952524a4e
14 changes: 0 additions & 14 deletions build/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ const alias = require("rollup-plugin-alias");
const replace = require("rollup-plugin-replace");
const flow = require("rollup-plugin-flow-no-whitespace");
const version = process.env.VERSION || require("../package.json").version;
const weexVersion =
process.env.WEEX_VERSION ||
require("../packages/weex-vue-framework/package.json").version;

const banner =
"/*!\n" +
Expand All @@ -19,15 +16,6 @@ const banner =
" * Released under the MIT License.\n" +
" */";

const weexFactoryPlugin = {
intro() {
return "module.exports = function weexFactory (exports, renderer) {";
},
outro() {
return "}";
}
};

const aliases = require("./alias");
const resolve = p => {
const base = p.split("/")[0];
Expand Down Expand Up @@ -75,8 +63,6 @@ function genConfig(opts) {
moduleName: "Vue",
plugins: [
replace({
__WEEX__: !!opts.weex,
__WEEX_VERSION__: weexVersion,
__VERSION__: version
}),
flow(),
Expand Down
Loading