Commit 0e438961 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Initial commit

parents
{
"presets": [
[
"latest", {"es2015": { "modules": false }}
]
]
}
\ No newline at end of file
{
"extends": "standard",
}
\ No newline at end of file
/node_modules
.idea
\ No newline at end of file
var fractal =
/******/ (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] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = 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;
/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {
/***/ })
/******/ ]);
\ No newline at end of file
{
"name": "Fractal.js",
"description": "Fractal.js",
"version": "1.0.0",
"author": "Sascha Herzinger",
"private": true,
"scripts": {
"build": "webpack --config webpack.config.js"
},
"dependencies": {
"vue": "^2.2.4"
},
"devDependencies": {
"babel-core": "^6.24.0",
"babel-preset-latest": "^6.24.0",
"webpack": "^2.2.1",
"babel-loader": "^6.4.0",
"vue-loader": "^11.1.4",
"css-loader": "^0.27.3",
"eslint": "^3.17.1",
"eslint-config-standard": "^7.0.1",
"eslint-plugin-standard": "^2.1.1",
"eslint-plugin-promise": "^3.5.0"
}
}
\ No newline at end of file
const webpack = require('webpack')
const path = require('path')
const config = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, './lib'),
library: 'fractal',
filename: 'fractal.js'
},
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
exclude: /node_modules/
},
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
}
]
},
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js'
}
}
}
module.exports = config
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment