Skip to content

Commit

Permalink
add autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
NightCatSama committed Sep 11, 2017
1 parent f9e1c35 commit 201305b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions example/src/vue-slider/vue2-slider.vue
Expand Up @@ -720,9 +720,6 @@ export default {
.vue-slider-component {
position: relative;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.vue-slider-component.vue-slider-disabled {
Expand Down
4 changes: 3 additions & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "vue-slider-component",
"version": "2.3.9",
"version": "2.4.0",
"description": "Can use the Slider component in vue1.x and vue2.x",
"keywords": [
"vue",
Expand All @@ -24,13 +24,15 @@
"build": "rm -rf ./dist && webpack --colors --hide-modules"
},
"devDependencies": {
"autoprefixer": "^7.1.4",
"babel-core": "^6.24.0",
"babel-loader": "^6.4.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-stage-2": "^6.22.0",
"babel-runtime": "^6.23.0",
"css-loader": "^0.23.1",
"postcss-load": "^0.1.6",
"style-loader": "^0.15.0",
"vue": "^2.2.4",
"vue-html-loader": "^1.2.4",
Expand Down
3 changes: 0 additions & 3 deletions src/vue2-slider.vue
Expand Up @@ -720,9 +720,6 @@ export default {
.vue-slider-component {
position: relative;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.vue-slider-component.vue-slider-disabled {
Expand Down
5 changes: 4 additions & 1 deletion webpack.config.js
Expand Up @@ -26,7 +26,10 @@ module.exports = {
test: /\.vue$/,
loader: 'vue-loader',
include: __dirname,
exclude: /node_modules/
exclude: /node_modules/,
options: {
postcss: [require('autoprefixer')({ browsers: ['>0%'] })]
}
}
]
},
Expand Down

0 comments on commit 201305b

Please sign in to comment.