-
-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #354 from HerringtonDarkholme/dev
[RFC] fix #270, support `appendTsSuffixTo` config
- Loading branch information
Showing
16 changed files
with
514 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template><p>Hello from {{msg}}</p></template> | ||
<script> | ||
export default { | ||
data(): Object { | ||
return { | ||
msg: "component" | ||
} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,207 @@ | ||
/******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
|
||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
|
||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) | ||
/******/ return installedModules[moduleId].exports; | ||
|
||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ exports: {}, | ||
/******/ id: moduleId, | ||
/******/ loaded: false | ||
/******/ }; | ||
|
||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
|
||
/******/ // Flag the module as loaded | ||
/******/ module.loaded = true; | ||
|
||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
|
||
|
||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ __webpack_require__.m = modules; | ||
|
||
/******/ // expose the module cache | ||
/******/ __webpack_require__.c = installedModules; | ||
|
||
/******/ // __webpack_public_path__ | ||
/******/ __webpack_require__.p = ""; | ||
|
||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(0); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ([ | ||
/* 0 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
|
||
var __vue_exports__, __vue_options__ | ||
|
||
/* script */ | ||
__vue_exports__ = __webpack_require__(1) | ||
|
||
/* template */ | ||
var __vue_template__ = __webpack_require__(6) | ||
__vue_options__ = __vue_exports__ = __vue_exports__ || {} | ||
if ( | ||
typeof __vue_exports__.default === "object" || | ||
typeof __vue_exports__.default === "function" | ||
) { | ||
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} | ||
__vue_options__ = __vue_exports__ = __vue_exports__.default | ||
} | ||
if (typeof __vue_options__ === "function") { | ||
__vue_options__ = __vue_options__.options | ||
} | ||
__vue_options__.__file = "/ts-loader/.test/vue/index.vue" | ||
__vue_options__.render = __vue_template__.render | ||
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns | ||
|
||
/* hot reload */ | ||
if (false) {(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("data-v-1e83055b", __vue_options__) | ||
} else { | ||
hotAPI.reload("data-v-1e83055b", __vue_options__) | ||
} | ||
})()} | ||
if (__vue_options__.functional) {console.error("[vue-loader] index.vue: functional components are not supported and should be defined in plain js files using render functions.")} | ||
|
||
module.exports = __vue_exports__ | ||
|
||
|
||
/***/ }, | ||
/* 1 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
|
||
// | ||
"use strict"; | ||
var component_vue_1 = __webpack_require__(2); | ||
var helper_1 = __webpack_require__(5); | ||
exports.__esModule = true; | ||
exports["default"] = { | ||
components: { component: component_vue_1["default"] }, | ||
data: function () { | ||
return { | ||
msg: "world" | ||
}; | ||
}, | ||
method: { | ||
myMethod: helper_1.myMethod | ||
} | ||
}; | ||
|
||
|
||
/***/ }, | ||
/* 2 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
|
||
var __vue_exports__, __vue_options__ | ||
|
||
/* script */ | ||
__vue_exports__ = __webpack_require__(3) | ||
|
||
/* template */ | ||
var __vue_template__ = __webpack_require__(4) | ||
__vue_options__ = __vue_exports__ = __vue_exports__ || {} | ||
if ( | ||
typeof __vue_exports__.default === "object" || | ||
typeof __vue_exports__.default === "function" | ||
) { | ||
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} | ||
__vue_options__ = __vue_exports__ = __vue_exports__.default | ||
} | ||
if (typeof __vue_options__ === "function") { | ||
__vue_options__ = __vue_options__.options | ||
} | ||
__vue_options__.__file = "/ts-loader/.test/vue/component.vue" | ||
__vue_options__.render = __vue_template__.render | ||
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns | ||
|
||
/* hot reload */ | ||
if (false) {(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("data-v-6043e8f4", __vue_options__) | ||
} else { | ||
hotAPI.reload("data-v-6043e8f4", __vue_options__) | ||
} | ||
})()} | ||
if (__vue_options__.functional) {console.error("[vue-loader] component.vue: functional components are not supported and should be defined in plain js files using render functions.")} | ||
|
||
module.exports = __vue_exports__ | ||
|
||
|
||
/***/ }, | ||
/* 3 */ | ||
/***/ function(module, exports) { | ||
|
||
// | ||
"use strict"; | ||
exports.__esModule = true; | ||
exports["default"] = { | ||
data: function () { | ||
return { | ||
msg: "component" | ||
}; | ||
} | ||
}; | ||
|
||
|
||
/***/ }, | ||
/* 4 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
|
||
module.exports={render:function (){with(this) { | ||
return _h('p', ["Hello from " + _s(msg)]) | ||
}},staticRenderFns: []} | ||
if (false) { | ||
module.hot.accept() | ||
if (module.hot.data) { | ||
require("vue-hot-reload-api").rerender("data-v-6043e8f4", module.exports) | ||
} | ||
} | ||
|
||
/***/ }, | ||
/* 5 */ | ||
/***/ function(module, exports) { | ||
|
||
"use strict"; | ||
function myMethod() { | ||
console.log('from helper!'); | ||
} | ||
exports.myMethod = myMethod; | ||
|
||
|
||
/***/ }, | ||
/* 6 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
|
||
module.exports={render:function (){with(this) { | ||
return _h('p', ["hallo " + _s(msg)]) | ||
}},staticRenderFns: []} | ||
if (false) { | ||
module.hot.accept() | ||
if (module.hot.data) { | ||
require("vue-hot-reload-api").rerender("data-v-1e83055b", module.exports) | ||
} | ||
} | ||
|
||
/***/ } | ||
/******/ ]); |
Oops, something went wrong.