Skip to content

Instantly share code, notes, and snippets.

@znck
Last active October 29, 2017 14:16
Show Gist options
  • Save znck/7636968707a1d43f303cb78eb2ff789c to your computer and use it in GitHub Desktop.
Save znck/7636968707a1d43f303cb78eb2ff789c to your computer and use it in GitHub Desktop.
vue component compiler source map issue

For Hello.vue compiler returns output.js.

Sourcemaps are provided for __vue_script__("!!babel-loader!../../lib/selector?type=script&index=0!./basic.vue") and __vue_style_0__("!!vue-style-loader!css-loader?sourceMap!../../lib/style-compiler/index?{\"vue\":true,\"id\":\"data-v-5e75c1bf\",\"scoped\":false,\"hasInlineConfig\":false}!../../lib/selector?type=styles&index=0!./basic.vue").

<template>
<h2 class="red">{{msg}}</h2>
</template>
<script>
export default {
data () {
return {
msg: 'Hello from Component A!'
}
}
}
</script>
<style>
comp-a h2 {
color: #f00;
}
</style>
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":1,"column":0,"name":null} */
/******/ var installedModules = {}; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":2,"column":0,"name":null} */
/******/
/******/ // The require function /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":4,"column":0,"name":null} */
/******/ function __webpack_require__(moduleId) { /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":5,"column":0,"name":null} */
/******/
/******/ // Check if module is in cache /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":7,"column":0,"name":null} */
/******/ if(installedModules[moduleId]) { /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":8,"column":0,"name":null} */
/******/ return installedModules[moduleId].exports; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":9,"column":0,"name":null} */
/******/ } /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":10,"column":0,"name":null} */
/******/ // Create a new module (and put it into the cache) /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":11,"column":0,"name":null} */
/******/ var module = installedModules[moduleId] = { /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":12,"column":0,"name":null} */
/******/ i: moduleId, /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":13,"column":0,"name":null} */
/******/ l: false, /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":14,"column":0,"name":null} */
/******/ exports: {} /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":15,"column":0,"name":null} */
/******/ }; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":16,"column":0,"name":null} */
/******/
/******/ // Execute the module function /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":18,"column":0,"name":null} */
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":19,"column":0,"name":null} */
/******/
/******/ // Flag the module as loaded /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":21,"column":0,"name":null} */
/******/ module.l = true; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":22,"column":0,"name":null} */
/******/
/******/ // Return the exports of the module /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":24,"column":0,"name":null} */
/******/ return module.exports; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":25,"column":0,"name":null} */
/******/ } /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":26,"column":0,"name":null} */
/******/
/******/
/******/ // expose the modules object (__webpack_modules__) /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":29,"column":0,"name":null} */
/******/ __webpack_require__.m = modules; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":30,"column":0,"name":null} */
/******/
/******/ // expose the module cache /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":32,"column":0,"name":null} */
/******/ __webpack_require__.c = installedModules; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":33,"column":0,"name":null} */
/******/
/******/ // define getter function for harmony exports /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":35,"column":0,"name":null} */
/******/ __webpack_require__.d = function(exports, name, getter) { /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":36,"column":0,"name":null} */
/******/ if(!__webpack_require__.o(exports, name)) { /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":37,"column":0,"name":null} */
/******/ Object.defineProperty(exports, name, { /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":38,"column":0,"name":null} */
/******/ configurable: false, /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":39,"column":0,"name":null} */
/******/ enumerable: true, /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":40,"column":0,"name":null} */
/******/ get: getter /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":41,"column":0,"name":null} */
/******/ }); /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":42,"column":0,"name":null} */
/******/ } /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":43,"column":0,"name":null} */
/******/ }; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":44,"column":0,"name":null} */
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":46,"column":0,"name":null} */
/******/ __webpack_require__.n = function(module) { /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":47,"column":0,"name":null} */
/******/ var getter = module && module.__esModule ? /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":48,"column":0,"name":null} */
/******/ function getDefault() { return module['default']; } : /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":49,"column":0,"name":null} */
/******/ function getModuleExports() { return module; }; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":50,"column":0,"name":null} */
/******/ __webpack_require__.d(getter, 'a', getter); /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":51,"column":0,"name":null} */
/******/ return getter; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":52,"column":0,"name":null} */
/******/ }; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":53,"column":0,"name":null} */
/******/
/******/ // Object.prototype.hasOwnProperty.call /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":55,"column":0,"name":null} */
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":56,"column":0,"name":null} */
/******/
/******/ // __webpack_public_path__ /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":58,"column":0,"name":null} */
/******/ __webpack_require__.p = ""; /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":59,"column":0,"name":null} */
/******/
/******/ // Load entry module and return exports /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":61,"column":0,"name":null} */
/******/ return __webpack_require__(__webpack_require__.s = 0); /* map: {"source":"webpack:/webpack/bootstrap 82cb2f4b7cdbdb64dd9f","line":62,"column":0,"name":null} */
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["vueModule"] = __webpack_require__(2); /* map: {"source":"webpack:///test/fixtures/basic.vue?4d7f","line":1,"column":0,"name":null} */
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
/***/ }),
/* 1 */
/***/ (function(module, exports) {
var g; /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":1,"column":0,"name":null} */
// This works in non-strict mode /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":3,"column":0,"name":null} */
g = (function() { /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":4,"column":0,"name":null} */
return this; /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":5,"column":0,"name":null} */
})(); /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":6,"column":0,"name":null} */
try { /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":8,"column":0,"name":null} */
// This works if eval is allowed (see CSP) /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":9,"column":0,"name":null} */
g = g || Function("return this")() || (1,eval)("this"); /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":10,"column":0,"name":null} */
} catch(e) { /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":11,"column":0,"name":null} */
// This works if the window reference is available /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":12,"column":0,"name":null} */
if(typeof window === "object") /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":13,"column":0,"name":null} */
g = window; /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":14,"column":0,"name":null} */
} /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":15,"column":0,"name":null} */
// g can still be undefined, but nothing to do about it... /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":17,"column":0,"name":null} */
// We return undefined, instead of nothing here, so it's /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":18,"column":0,"name":null} */
// easier to handle this case. if(!global) { ...} /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":19,"column":0,"name":null} */
module.exports = g; /* map: {"source":"webpack:///(webpack)/buildin/global.js","line":21,"column":0,"name":null} */
/***/ }),
/* 2 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
// CONCATENATED MODULE: ../vue-component-compiler/src/runtime/normalize-component.js
/* globals __VUE_SSR_CONTEXT__ */ /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":1,"column":0,"name":null} */
// this module is a runtime utility for cleaner component module output. /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":3,"column":0,"name":null} */
function normalizeComponent ( /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":5,"column":0,"name":null} */
rawScriptExports, /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":6,"column":0,"name":null} */
compiledTemplate, /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":7,"column":0,"name":null} */
injectStyles, /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":8,"column":0,"name":null} */
scopeId, /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":9,"column":0,"name":null} */
moduleIdentifier /* server only */ /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":10,"column":0,"name":null} */
) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":11,"column":0,"name":null} */
var esModule /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":12,"column":0,"name":null} */
var scriptExports = rawScriptExports = rawScriptExports || {} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":13,"column":0,"name":null} */
// ES6 modules interop /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":15,"column":0,"name":null} */
var type = typeof rawScriptExports.default /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":16,"column":0,"name":null} */
if (type === 'object' || type === 'function') { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":17,"column":0,"name":null} */
esModule = rawScriptExports /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":18,"column":0,"name":null} */
scriptExports = rawScriptExports.default /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":19,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":20,"column":0,"name":null} */
// Vue.extend constructor export interop /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":22,"column":0,"name":null} */
var options = typeof scriptExports === 'function' /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":23,"column":0,"name":null} */
? scriptExports.options /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":24,"column":0,"name":null} */
: scriptExports /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":25,"column":0,"name":null} */
// render functions /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":27,"column":0,"name":null} */
if (compiledTemplate) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":28,"column":0,"name":null} */
options.render = compiledTemplate.render /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":29,"column":0,"name":null} */
options.staticRenderFns = compiledTemplate.staticRenderFns /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":30,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":31,"column":0,"name":null} */
// scopedId /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":33,"column":0,"name":null} */
if (scopeId) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":34,"column":0,"name":null} */
options._scopeId = scopeId /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":35,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":36,"column":0,"name":null} */
var hook /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":38,"column":0,"name":null} */
if (moduleIdentifier) { // server build /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":39,"column":0,"name":null} */
hook = function (context) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":40,"column":0,"name":null} */
// 2.3 injection /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":41,"column":0,"name":null} */
context = /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":42,"column":0,"name":null} */
context || // cached call /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":43,"column":0,"name":null} */
(this.$vnode && this.$vnode.ssrContext) || // stateful /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":44,"column":0,"name":null} */
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":45,"column":0,"name":null} */
// 2.2 with runInNewContext: true /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":46,"column":0,"name":null} */
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":47,"column":0,"name":null} */
context = __VUE_SSR_CONTEXT__ /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":48,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":49,"column":0,"name":null} */
// inject component styles /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":50,"column":0,"name":null} */
if (injectStyles) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":51,"column":0,"name":null} */
injectStyles.call(this, context) /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":52,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":53,"column":0,"name":null} */
// register component module identifier for async chunk inferrence /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":54,"column":0,"name":null} */
if (context && context._registeredComponents) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":55,"column":0,"name":null} */
context._registeredComponents.add(moduleIdentifier) /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":56,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":57,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":58,"column":0,"name":null} */
// used by ssr in case component is cached and beforeCreate /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":59,"column":0,"name":null} */
// never gets called /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":60,"column":0,"name":null} */
options._ssrRegister = hook /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":61,"column":0,"name":null} */
} else if (injectStyles) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":62,"column":0,"name":null} */
hook = injectStyles /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":63,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":64,"column":0,"name":null} */
if (hook) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":66,"column":0,"name":null} */
var functional = options.functional /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":67,"column":0,"name":null} */
var existing = functional /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":68,"column":0,"name":null} */
? options.render /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":69,"column":0,"name":null} */
: options.beforeCreate /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":70,"column":0,"name":null} */
if (!functional) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":71,"column":0,"name":null} */
// inject component registration as beforeCreate hook /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":72,"column":0,"name":null} */
options.beforeCreate = existing /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":73,"column":0,"name":null} */
? [].concat(existing, hook) /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":74,"column":0,"name":null} */
: [hook] /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":75,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":76,"column":0,"name":null} */
// register for functioal component in vue file /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":77,"column":0,"name":null} */
options.render = function renderWithStyleInjection (h, context) { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":78,"column":0,"name":null} */
hook.call(context) /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":79,"column":0,"name":null} */
return existing(h, context) /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":80,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":81,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":82,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":83,"column":0,"name":null} */
return { /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":85,"column":0,"name":null} */
esModule: esModule, /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":86,"column":0,"name":null} */
exports: scriptExports, /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":87,"column":0,"name":null} */
options: options /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":88,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":89,"column":0,"name":null} */
} /* map: {"source":"webpack:///vue-component-compiler/src/runtime/normalize-component.js","line":90,"column":0,"name":null} */
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./lib/selector.js?type=script&index=0!./test/fixtures/basic.vue
//
//
//
//
/* harmony default export */ var basic_defaultExport = ({ /* map: {"source":"webpack:///basic.vue","line":6,"column":0,"name":null} */
data() {
return {
msg: 'Hello from Component A!'
}; /* map: {"source":"webpack:///basic.vue","line":9,"column":0,"name":null} */
} /* map: {"source":"webpack:///basic.vue","line":12,"column":0,"name":null} */
}); /* map: {"source":"webpack:///basic.vue","line":7,"column":0,"name":null} */
// CONCATENATED MODULE: ./lib/template-compiler?{"id":"data-v-5e75c1bf"}!./lib/selector.js?type=template&index=0!./test/fixtures/basic.vue
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":1,"column":0,"name":null} */
return _c('h2', { /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":2,"column":0,"name":null} */
staticClass: "red" /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":3,"column":0,"name":null} */
}, [_vm._v(_vm._s(_vm.msg))]) /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":4,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":5,"column":0,"name":null} */
var staticRenderFns = [] /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":6,"column":0,"name":null} */
render._withStripped = true /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":7,"column":0,"name":null} */
/* harmony default export */ var fixtures_basic_defaultExport = ({ render: render, staticRenderFns: staticRenderFns }); /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":8,"column":0,"name":null} */
if (false) { /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":9,"column":0,"name":null} */
module.hot.accept() /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":10,"column":0,"name":null} */
if (module.hot.data) { /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":11,"column":0,"name":null} */
require("vue-hot-reload-api").rerender("data-v-5e75c1bf", module.exports) /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":12,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":13,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue?6273","line":14,"column":0,"name":null} */
// CONCATENATED MODULE: .!./test/fixtures/basic.vue
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__vue_style_loader_css_loader_sourceMap_lib_style_compiler_index_vue_true_id_data_v_5e75c1bf_scoped_false_hasInlineConfig_false_lib_selector_type_styles_index_0_basic_vue__ = __webpack_require__(3); /* map: {"source":"webpack:///test/fixtures/basic.vue","line":1,"column":0,"name":null} */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__vue_style_loader_css_loader_sourceMap_lib_style_compiler_index_vue_true_id_data_v_5e75c1bf_scoped_false_hasInlineConfig_false_lib_selector_type_styles_index_0_basic_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__vue_style_loader_css_loader_sourceMap_lib_style_compiler_index_vue_true_id_data_v_5e75c1bf_scoped_false_hasInlineConfig_false_lib_selector_type_styles_index_0_basic_vue__); /* map: {"source":"webpack:///test/fixtures/basic.vue","line":1,"column":0,"name":null} */
var disposed = false /* map: {"source":"webpack:///test/fixtures/basic.vue","line":1,"column":0,"name":null} */
/* map: {"source":"webpack:///test/fixtures/basic.vue","line":2,"column":184,"name":null} */
function injectStyle (ssrContext) { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":3,"column":0,"name":null} */
if (disposed) return /* map: {"source":"webpack:///test/fixtures/basic.vue","line":4,"column":0,"name":null} */
__WEBPACK_IMPORTED_MODULE_0__vue_style_loader_css_loader_sourceMap_lib_style_compiler_index_vue_true_id_data_v_5e75c1bf_scoped_false_hasInlineConfig_false_lib_selector_type_styles_index_0_basic_vue___default.a && __WEBPACK_IMPORTED_MODULE_0__vue_style_loader_css_loader_sourceMap_lib_style_compiler_index_vue_true_id_data_v_5e75c1bf_scoped_false_hasInlineConfig_false_lib_selector_type_styles_index_0_basic_vue___default.a.__inject__ && __WEBPACK_IMPORTED_MODULE_0__vue_style_loader_css_loader_sourceMap_lib_style_compiler_index_vue_true_id_data_v_5e75c1bf_scoped_false_hasInlineConfig_false_lib_selector_type_styles_index_0_basic_vue___default.a.__inject__(ssrContext) /* map: {"source":"webpack:///test/fixtures/basic.vue","line":5,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue","line":6,"column":0,"name":null} */
/* map: {"source":"webpack:///test/fixtures/basic.vue","line":7,"column":0,"name":null} */
/* script */ /* map: {"source":"webpack:///test/fixtures/basic.vue","line":9,"column":0,"name":null} */
/* map: {"source":"webpack:///test/fixtures/basic.vue","line":10,"column":0,"name":null} */
/* template */ /* map: {"source":"webpack:///test/fixtures/basic.vue","line":12,"column":0,"name":null} */
/* map: {"source":"webpack:///test/fixtures/basic.vue","line":13,"column":94,"name":null} */
/* styles */ /* map: {"source":"webpack:///test/fixtures/basic.vue","line":15,"column":0,"name":null} */
var __vue_styles__ = injectStyle /* map: {"source":"webpack:///test/fixtures/basic.vue","line":16,"column":0,"name":null} */
/* scopeId */ /* map: {"source":"webpack:///test/fixtures/basic.vue","line":18,"column":0,"name":null} */
var __vue_scopeId__ = null /* map: {"source":"webpack:///test/fixtures/basic.vue","line":19,"column":0,"name":null} */
/* moduleIdentifier (server only) */ /* map: {"source":"webpack:///test/fixtures/basic.vue","line":21,"column":0,"name":null} */
var __vue_module_identifier__ = null /* map: {"source":"webpack:///test/fixtures/basic.vue","line":22,"column":0,"name":null} */
var Component = normalizeComponent( /* map: {"source":"webpack:///test/fixtures/basic.vue","line":24,"column":0,"name":null} */
basic_defaultExport, /* map: {"source":"webpack:///test/fixtures/basic.vue","line":25,"column":0,"name":null} */
fixtures_basic_defaultExport, /* map: {"source":"webpack:///test/fixtures/basic.vue","line":26,"column":0,"name":null} */
__vue_styles__, /* map: {"source":"webpack:///test/fixtures/basic.vue","line":27,"column":0,"name":null} */
__vue_scopeId__, /* map: {"source":"webpack:///test/fixtures/basic.vue","line":28,"column":0,"name":null} */
__vue_module_identifier__ /* map: {"source":"webpack:///test/fixtures/basic.vue","line":29,"column":0,"name":null} */
) /* map: {"source":"webpack:///test/fixtures/basic.vue","line":30,"column":0,"name":null} */
Component.options.__file = "test/fixtures/basic.vue" /* map: {"source":"webpack:///test/fixtures/basic.vue","line":31,"column":0,"name":null} */
if (Component.esModule && Object.keys(Component.esModule).some(function (key) { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":32,"column":0,"name":null} */
return key !== "default" && key.substr(0, 2) !== "__" /* map: {"source":"webpack:///test/fixtures/basic.vue","line":33,"column":0,"name":null} */
})) { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":34,"column":0,"name":null} */
console.error("named exports are not supported in *.vue files.") /* map: {"source":"webpack:///test/fixtures/basic.vue","line":35,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue","line":36,"column":0,"name":null} */
if (Component.options.functional) { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":37,"column":0,"name":null} */
console.error("[vue-component-compiler] test/fixtures/basic.vue: functional components are not supported with templates, they should use render functions.") /* map: {"source":"webpack:///test/fixtures/basic.vue","line":38,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue","line":39,"column":0,"name":null} */
/* hot reload */ /* map: {"source":"webpack:///test/fixtures/basic.vue","line":41,"column":0,"name":null} */
if (false) { (function () { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":42,"column":0,"name":null} */
var hotAPI = require("vue-hot-reload-api") /* map: {"source":"webpack:///test/fixtures/basic.vue","line":43,"column":0,"name":null} */
hotAPI.install(require('vue'), false) /* map: {"source":"webpack:///test/fixtures/basic.vue","line":44,"column":0,"name":null} */
if (!hotAPI.compatible) return /* map: {"source":"webpack:///test/fixtures/basic.vue","line":45,"column":0,"name":null} */
module.hot.accept() /* map: {"source":"webpack:///test/fixtures/basic.vue","line":46,"column":0,"name":null} */
if (!module.hot.data) { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":47,"column":0,"name":null} */
hotAPI.createRecord(undefined, Component.options) /* map: {"source":"webpack:///test/fixtures/basic.vue","line":48,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":49,"column":0,"name":null} */
hotAPI.reload(undefined, Component.options) /* map: {"source":"webpack:///test/fixtures/basic.vue","line":50,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue","line":51,"column":0,"name":null} */
module.hot.dispose(function (data) { /* map: {"source":"webpack:///test/fixtures/basic.vue","line":52,"column":0,"name":null} */
disposed = true /* map: {"source":"webpack:///test/fixtures/basic.vue","line":53,"column":0,"name":null} */
}) /* map: {"source":"webpack:///test/fixtures/basic.vue","line":54,"column":0,"name":null} */
})()} /* map: {"source":"webpack:///test/fixtures/basic.vue","line":55,"column":0,"name":null} */
/* harmony default export */ __webpack_exports__["default"] = (Component.options); /* map: {"source":"webpack:///test/fixtures/basic.vue","line":57,"column":0,"name":null} */
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":1,"column":0,"name":null} */
// load the styles /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":3,"column":0,"name":null} */
var content = __webpack_require__(4); /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":4,"column":0,"name":null} */
if(typeof content === 'string') content = [[module.i, content, '']]; /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":5,"column":0,"name":null} */
if(content.locals) module.exports = content.locals; /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":6,"column":0,"name":null} */
// add the styles to the DOM /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":7,"column":0,"name":null} */
var update = __webpack_require__(6)("7fd2ae6b", content, false); /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":8,"column":0,"name":null} */
// Hot Module Replacement /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":9,"column":0,"name":null} */
if(false) { /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":10,"column":0,"name":null} */
// When the styles change, update the <style> tags /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":11,"column":0,"name":null} */
if(!content.locals) { /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":12,"column":0,"name":null} */
module.hot.accept("!!../../node_modules/css-loader/index.js?sourceMap!../../lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-5e75c1bf\",\"scoped\":false,\"hasInlineConfig\":false}!../../lib/selector.js?type=styles&index=0!./basic.vue", function() { /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":13,"column":0,"name":null} */
var newContent = require("!!../../node_modules/css-loader/index.js?sourceMap!../../lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-5e75c1bf\",\"scoped\":false,\"hasInlineConfig\":false}!../../lib/selector.js?type=styles&index=0!./basic.vue"); /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":14,"column":0,"name":null} */
if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":15,"column":0,"name":null} */
update(newContent); /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":16,"column":0,"name":null} */
}); /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":17,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":18,"column":0,"name":null} */
// When the module is disposed, remove the <style> tags /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":19,"column":0,"name":null} */
module.hot.dispose(function() { update(); }); /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":20,"column":0,"name":null} */
} /* map: {"source":"webpack:///test/fixtures/basic.vue?15e1","line":21,"column":0,"name":null} */
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(5)(); /* map: {"source":"webpack:///test/fixtures/basic.vue?6107","line":1,"column":0,"name":null} */
// imports /* map: {"source":"webpack:///test/fixtures/basic.vue?6107","line":2,"column":0,"name":null} */
// module /* map: {"source":"webpack:///test/fixtures/basic.vue?6107","line":5,"column":0,"name":null} */
exports.push([module.i, "\ncomp-a h2 {\n color: #f00;\n}\n", "", {"version":3,"sources":["/Users/300005163/Workspace/vuejs/vue-loader/test/fixtures/basic.vue?64461333"],"names":[],"mappings":";AAeA;EACA,YAAA;CACA","file":"basic.vue","sourcesContent":["<template>\n <h2 class=\"red\">{{msg}}</h2>\n</template>\n\n<script>\nexport default {\n data () {\n return {\n msg: 'Hello from Component A!'\n }\n }\n}\n</script>\n\n<style>\ncomp-a h2 {\n color: #f00;\n}\n</style>\n"],"sourceRoot":""}]); /* map: {"source":"webpack:///test/fixtures/basic.vue?6107","line":6,"column":0,"name":null} */
// exports /* map: {"source":"webpack:///test/fixtures/basic.vue?6107","line":8,"column":0,"name":null} */
/***/ }),
/* 5 */
/***/ (function(module, exports) {
/* /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":1,"column":0,"name":null} */
MIT License http://www.opensource.org/licenses/mit-license.php /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":2,"column":0,"name":null} */
Author Tobias Koppers @sokra /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":3,"column":0,"name":null} */
*/ /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":4,"column":0,"name":null} */
// css base code, injected by the css-loader /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":5,"column":0,"name":null} */
module.exports = function() { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":6,"column":0,"name":null} */
var list = []; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":7,"column":0,"name":null} */
// return the list of modules as css string /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":9,"column":0,"name":null} */
list.toString = function toString() { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":10,"column":0,"name":null} */
var result = []; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":11,"column":0,"name":null} */
for(var i = 0; i < this.length; i++) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":12,"column":0,"name":null} */
var item = this[i]; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":13,"column":0,"name":null} */
if(item[2]) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":14,"column":0,"name":null} */
result.push("@media " + item[2] + "{" + item[1] + "}"); /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":15,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":16,"column":0,"name":null} */
result.push(item[1]); /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":17,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":18,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":19,"column":0,"name":null} */
return result.join(""); /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":20,"column":0,"name":null} */
}; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":21,"column":0,"name":null} */
// import a list of modules into the list /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":23,"column":0,"name":null} */
list.i = function(modules, mediaQuery) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":24,"column":0,"name":null} */
if(typeof modules === "string") /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":25,"column":0,"name":null} */
modules = [[null, modules, ""]]; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":26,"column":0,"name":null} */
var alreadyImportedModules = {}; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":27,"column":0,"name":null} */
for(var i = 0; i < this.length; i++) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":28,"column":0,"name":null} */
var id = this[i][0]; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":29,"column":0,"name":null} */
if(typeof id === "number") /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":30,"column":0,"name":null} */
alreadyImportedModules[id] = true; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":31,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":32,"column":0,"name":null} */
for(i = 0; i < modules.length; i++) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":33,"column":0,"name":null} */
var item = modules[i]; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":34,"column":0,"name":null} */
// skip already imported module /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":35,"column":0,"name":null} */
// this implementation is not 100% perfect for weird media query combinations /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":36,"column":0,"name":null} */
// when a module is imported multiple times with different media queries. /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":37,"column":0,"name":null} */
// I hope this will never occur (Hey this way we have smaller bundles) /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":38,"column":0,"name":null} */
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":39,"column":0,"name":null} */
if(mediaQuery && !item[2]) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":40,"column":0,"name":null} */
item[2] = mediaQuery; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":41,"column":0,"name":null} */
} else if(mediaQuery) { /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":42,"column":0,"name":null} */
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":43,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":44,"column":0,"name":null} */
list.push(item); /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":45,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":46,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":47,"column":0,"name":null} */
}; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":48,"column":0,"name":null} */
return list; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":49,"column":0,"name":null} */
}; /* map: {"source":"webpack:///node_modules/css-loader/lib/css-base.js","line":50,"column":0,"name":null} */
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
/* /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":1,"column":0,"name":null} */
MIT License http://www.opensource.org/licenses/mit-license.php /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":2,"column":0,"name":null} */
Author Tobias Koppers @sokra /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":3,"column":0,"name":null} */
Modified by Evan You @yyx990803 /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":4,"column":0,"name":null} */
*/ /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":5,"column":0,"name":null} */
var hasDocument = typeof document !== 'undefined' /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":7,"column":0,"name":null} */
if (typeof DEBUG !== 'undefined' && DEBUG) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":9,"column":0,"name":null} */
if (!hasDocument) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":10,"column":0,"name":null} */
throw new Error( /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":11,"column":0,"name":null} */
'vue-style-loader cannot be used in a non-browser environment. ' + /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":12,"column":0,"name":null} */
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":13,"column":0,"name":null} */
) } /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":14,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":15,"column":0,"name":null} */
var listToStyles = __webpack_require__(7) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":17,"column":0,"name":null} */
/* /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":19,"column":0,"name":null} */
type StyleObject = { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":20,"column":0,"name":null} */
id: number; /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":21,"column":0,"name":null} */
parts: Array<StyleObjectPart> /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":22,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":23,"column":0,"name":null} */
type StyleObjectPart = { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":25,"column":0,"name":null} */
css: string; /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":26,"column":0,"name":null} */
media: string; /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":27,"column":0,"name":null} */
sourceMap: ?string /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":28,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":29,"column":0,"name":null} */
*/ /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":30,"column":0,"name":null} */
var stylesInDom = {/* /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":32,"column":0,"name":null} */
[id: number]: { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":33,"column":0,"name":null} */
id: number, /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":34,"column":0,"name":null} */
refs: number, /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":35,"column":0,"name":null} */
parts: Array<(obj?: StyleObjectPart) => void> /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":36,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":37,"column":0,"name":null} */
*/} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":38,"column":0,"name":null} */
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0]) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":40,"column":0,"name":null} */
var singletonElement = null /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":41,"column":0,"name":null} */
var singletonCounter = 0 /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":42,"column":0,"name":null} */
var isProduction = false /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":43,"column":0,"name":null} */
var noop = function () {} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":44,"column":0,"name":null} */
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style> /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":46,"column":0,"name":null} */
// tags it will allow on a page /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":47,"column":0,"name":null} */
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase()) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":48,"column":0,"name":null} */
module.exports = function (parentId, list, _isProduction) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":50,"column":0,"name":null} */
isProduction = _isProduction /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":51,"column":0,"name":null} */
var styles = listToStyles(parentId, list) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":53,"column":0,"name":null} */
addStylesToDom(styles) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":54,"column":0,"name":null} */
return function update (newList) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":56,"column":0,"name":null} */
var mayRemove = [] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":57,"column":0,"name":null} */
for (var i = 0; i < styles.length; i++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":58,"column":0,"name":null} */
var item = styles[i] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":59,"column":0,"name":null} */
var domStyle = stylesInDom[item.id] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":60,"column":0,"name":null} */
domStyle.refs-- /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":61,"column":0,"name":null} */
mayRemove.push(domStyle) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":62,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":63,"column":0,"name":null} */
if (newList) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":64,"column":0,"name":null} */
styles = listToStyles(parentId, newList) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":65,"column":0,"name":null} */
addStylesToDom(styles) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":66,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":67,"column":0,"name":null} */
styles = [] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":68,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":69,"column":0,"name":null} */
for (var i = 0; i < mayRemove.length; i++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":70,"column":0,"name":null} */
var domStyle = mayRemove[i] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":71,"column":0,"name":null} */
if (domStyle.refs === 0) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":72,"column":0,"name":null} */
for (var j = 0; j < domStyle.parts.length; j++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":73,"column":0,"name":null} */
domStyle.parts[j]() /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":74,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":75,"column":0,"name":null} */
delete stylesInDom[domStyle.id] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":76,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":77,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":78,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":79,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":80,"column":0,"name":null} */
function addStylesToDom (styles /* Array<StyleObject> */) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":82,"column":0,"name":null} */
for (var i = 0; i < styles.length; i++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":83,"column":0,"name":null} */
var item = styles[i] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":84,"column":0,"name":null} */
var domStyle = stylesInDom[item.id] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":85,"column":0,"name":null} */
if (domStyle) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":86,"column":0,"name":null} */
domStyle.refs++ /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":87,"column":0,"name":null} */
for (var j = 0; j < domStyle.parts.length; j++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":88,"column":0,"name":null} */
domStyle.parts[j](item.parts[j]) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":89,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":90,"column":0,"name":null} */
for (; j < item.parts.length; j++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":91,"column":0,"name":null} */
domStyle.parts.push(addStyle(item.parts[j])) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":92,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":93,"column":0,"name":null} */
if (domStyle.parts.length > item.parts.length) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":94,"column":0,"name":null} */
domStyle.parts.length = item.parts.length /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":95,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":96,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":97,"column":0,"name":null} */
var parts = [] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":98,"column":0,"name":null} */
for (var j = 0; j < item.parts.length; j++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":99,"column":0,"name":null} */
parts.push(addStyle(item.parts[j])) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":100,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":101,"column":0,"name":null} */
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts } /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":102,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":103,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":104,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":105,"column":0,"name":null} */
function createStyleElement () { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":107,"column":0,"name":null} */
var styleElement = document.createElement('style') /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":108,"column":0,"name":null} */
styleElement.type = 'text/css' /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":109,"column":0,"name":null} */
head.appendChild(styleElement) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":110,"column":0,"name":null} */
return styleElement /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":111,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":112,"column":0,"name":null} */
function addStyle (obj /* StyleObjectPart */) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":114,"column":0,"name":null} */
var update, remove /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":115,"column":0,"name":null} */
var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]') /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":116,"column":0,"name":null} */
if (styleElement) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":118,"column":0,"name":null} */
if (isProduction) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":119,"column":0,"name":null} */
// has SSR styles and in production mode. /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":120,"column":0,"name":null} */
// simply do nothing. /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":121,"column":0,"name":null} */
return noop /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":122,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":123,"column":0,"name":null} */
// has SSR styles but in dev mode. /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":124,"column":0,"name":null} */
// for some reason Chrome can't handle source map in server-rendered /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":125,"column":0,"name":null} */
// style tags - source maps in <style> only works if the style tag is /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":126,"column":0,"name":null} */
// created and inserted dynamically. So we remove the server rendered /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":127,"column":0,"name":null} */
// styles and inject new ones. /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":128,"column":0,"name":null} */
styleElement.parentNode.removeChild(styleElement) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":129,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":130,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":131,"column":0,"name":null} */
if (isOldIE) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":133,"column":0,"name":null} */
// use singleton mode for IE9. /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":134,"column":0,"name":null} */
var styleIndex = singletonCounter++ /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":135,"column":0,"name":null} */
styleElement = singletonElement || (singletonElement = createStyleElement()) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":136,"column":0,"name":null} */
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":137,"column":0,"name":null} */
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":138,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":139,"column":0,"name":null} */
// use multi-style-tag mode in all other cases /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":140,"column":0,"name":null} */
styleElement = createStyleElement() /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":141,"column":0,"name":null} */
update = applyToTag.bind(null, styleElement) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":142,"column":0,"name":null} */
remove = function () { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":143,"column":0,"name":null} */
styleElement.parentNode.removeChild(styleElement) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":144,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":145,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":146,"column":0,"name":null} */
update(obj) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":148,"column":0,"name":null} */
return function updateStyle (newObj /* StyleObjectPart */) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":150,"column":0,"name":null} */
if (newObj) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":151,"column":0,"name":null} */
if (newObj.css === obj.css && /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":152,"column":0,"name":null} */
newObj.media === obj.media && /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":153,"column":0,"name":null} */
newObj.sourceMap === obj.sourceMap) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":154,"column":0,"name":null} */
return /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":155,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":156,"column":0,"name":null} */
update(obj = newObj) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":157,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":158,"column":0,"name":null} */
remove() /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":159,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":160,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":161,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":162,"column":0,"name":null} */
var replaceText = (function () { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":164,"column":0,"name":null} */
var textStore = [] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":165,"column":0,"name":null} */
return function (index, replacement) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":167,"column":0,"name":null} */
textStore[index] = replacement /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":168,"column":0,"name":null} */
return textStore.filter(Boolean).join('\n') /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":169,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":170,"column":0,"name":null} */
})() /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":171,"column":0,"name":null} */
function applyToSingletonTag (styleElement, index, remove, obj) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":173,"column":0,"name":null} */
var css = remove ? '' : obj.css /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":174,"column":0,"name":null} */
if (styleElement.styleSheet) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":176,"column":0,"name":null} */
styleElement.styleSheet.cssText = replaceText(index, css) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":177,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":178,"column":0,"name":null} */
var cssNode = document.createTextNode(css) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":179,"column":0,"name":null} */
var childNodes = styleElement.childNodes /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":180,"column":0,"name":null} */
if (childNodes[index]) styleElement.removeChild(childNodes[index]) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":181,"column":0,"name":null} */
if (childNodes.length) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":182,"column":0,"name":null} */
styleElement.insertBefore(cssNode, childNodes[index]) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":183,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":184,"column":0,"name":null} */
styleElement.appendChild(cssNode) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":185,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":186,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":187,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":188,"column":0,"name":null} */
function applyToTag (styleElement, obj) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":190,"column":0,"name":null} */
var css = obj.css /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":191,"column":0,"name":null} */
var media = obj.media /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":192,"column":0,"name":null} */
var sourceMap = obj.sourceMap /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":193,"column":0,"name":null} */
if (media) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":195,"column":0,"name":null} */
styleElement.setAttribute('media', media) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":196,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":197,"column":0,"name":null} */
if (sourceMap) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":199,"column":0,"name":null} */
// https://developer.chrome.com/devtools/docs/javascript-debugging /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":200,"column":0,"name":null} */
// this makes source maps inside style tags work properly in Chrome /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":201,"column":0,"name":null} */
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */' /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":202,"column":0,"name":null} */
// http://stackoverflow.com/a/26603875 /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":203,"column":0,"name":null} */
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */' /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":204,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":205,"column":0,"name":null} */
if (styleElement.styleSheet) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":207,"column":0,"name":null} */
styleElement.styleSheet.cssText = css /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":208,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":209,"column":0,"name":null} */
while (styleElement.firstChild) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":210,"column":0,"name":null} */
styleElement.removeChild(styleElement.firstChild) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":211,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":212,"column":0,"name":null} */
styleElement.appendChild(document.createTextNode(css)) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":213,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":214,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/addStylesClient.js","line":215,"column":0,"name":null} */
/***/ }),
/* 7 */
/***/ (function(module, exports) {
/** /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":1,"column":0,"name":null} */
* Translates the list format produced by css-loader into something /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":2,"column":0,"name":null} */
* easier to manipulate. /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":3,"column":0,"name":null} */
*/ /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":4,"column":0,"name":null} */
module.exports = function listToStyles (parentId, list) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":5,"column":0,"name":null} */
var styles = [] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":6,"column":0,"name":null} */
var newStyles = {} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":7,"column":0,"name":null} */
for (var i = 0; i < list.length; i++) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":8,"column":0,"name":null} */
var item = list[i] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":9,"column":0,"name":null} */
var id = item[0] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":10,"column":0,"name":null} */
var css = item[1] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":11,"column":0,"name":null} */
var media = item[2] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":12,"column":0,"name":null} */
var sourceMap = item[3] /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":13,"column":0,"name":null} */
var part = { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":14,"column":0,"name":null} */
id: parentId + ':' + i, /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":15,"column":0,"name":null} */
css: css, /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":16,"column":0,"name":null} */
media: media, /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":17,"column":0,"name":null} */
sourceMap: sourceMap /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":18,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":19,"column":0,"name":null} */
if (!newStyles[id]) { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":20,"column":0,"name":null} */
styles.push(newStyles[id] = { id: id, parts: [part] }) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":21,"column":0,"name":null} */
} else { /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":22,"column":0,"name":null} */
newStyles[id].parts.push(part) /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":23,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":24,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":25,"column":0,"name":null} */
return styles /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":26,"column":0,"name":null} */
} /* map: {"source":"webpack:///node_modules/vue-style-loader/lib/listToStyles.js","line":27,"column":0,"name":null} */
/***/ })
/******/ ]);
//# sourceMappingURL=test.build.js.map
var disposed = false
import __vue_style_0__ from "!!vue-style-loader!css-loader?sourceMap!../../lib/style-compiler/index?{\"vue\":true,\"id\":\"data-v-5e75c1bf\",\"scoped\":false,\"hasInlineConfig\":false}!../../lib/selector?type=styles&index=0!./basic.vue"
function injectStyle (ssrContext) {
if (disposed) return
__vue_style_0__ && __vue_style_0__.__inject__ && __vue_style_0__.__inject__(ssrContext)
}
import normalizeComponent from "vue-component-compiler/src/runtime/normalize-component"
/* script */
import __vue_script__ from "!!babel-loader!../../lib/selector?type=script&index=0!./basic.vue"
/* template */
import __vue_template__ from "!!../../lib/template-compiler/index?{\"id\":\"data-v-5e75c1bf\"}!../../lib/selector?type=template&index=0!./basic.vue"
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = null
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
__vue_script__,
__vue_template__,
__vue_styles__,
__vue_scopeId__,
__vue_module_identifier__
)
Component.options.__file = "test/fixtures/basic.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {
return key !== "default" && key.substr(0, 2) !== "__"
})) {
console.error("named exports are not supported in *.vue files.")
}
if (Component.options.functional) {
console.error("[vue-component-compiler] test/fixtures/basic.vue: functional components are not supported with templates, they should use render functions.")
}
/* hot reload */
if (module.hot) { (function () {
var hotAPI = require("vue-hot-reload-api")
hotAPI.install(require('vue'), false)
if (!hotAPI.compatible) return
module.hot.accept()
if (!module.hot.data) {
hotAPI.createRecord(undefined, Component.options)
} else {
hotAPI.reload(undefined, Component.options)
}
module.hot.dispose(function (data) {
disposed = true
})
})()}
export default Component.options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment