diff --git a/.gitignore b/.gitignore index 5306c013b..4c1cab8de 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ lib/* !lib/style.css node_modules example/dist +dist diff --git a/build/bin/build-entry.js b/build/bin/build-entry.js index d343a9195..d43620767 100644 --- a/build/bin/build-entry.js +++ b/build/bin/build-entry.js @@ -8,8 +8,6 @@ var OUTPUT_PATH = path.join(__dirname, '../../src/index.js'); var IMPORT_TEMPLATE = 'import {{name}} from \'../packages/{{package}}/index.js\';'; var ISNTALL_COMPONENT_TEMPLATE = ' Vue.component({{name}}.name, {{name}});'; var MAIN_TEMPLATE = `{{include}} -// zanui -import '../packages/zanui-css/src/index.pcss'; const install = function(Vue) { if (install.installed) return; diff --git a/build/webpack.build.js b/build/webpack.build.js index 4222eae61..6e900f7ba 100644 --- a/build/webpack.build.js +++ b/build/webpack.build.js @@ -6,7 +6,7 @@ config.entry = { config.output = { filename: './dist/[name].js', - library: 'Oxygen', + library: 'zanui', libraryTarget: 'umd' } diff --git a/build/webpack.config.js b/build/webpack.config.js index 5d28befbf..8841731d8 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -57,10 +57,6 @@ module.exports = { }, { test: /\.css$/, - loader: 'style-loader!css-loader?root=./docs/' - }, - { - test: /\.pcss$/, loader: 'style-loader!css-loader!postcss-loader' }, { diff --git a/docs/App.vue b/docs/App.vue index c0b8380c3..648a9b356 100644 --- a/docs/App.vue +++ b/docs/App.vue @@ -21,6 +21,8 @@ export default {