upgraded tooling
This commit is contained in:
5111
package-lock.json
generated
Normal file
5111
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@@ -1,17 +1,27 @@
|
|||||||
{
|
{
|
||||||
"name": "tessellate",
|
"name": "tessellate",
|
||||||
"version": "0.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "webpack.config.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "webpack --mode production",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://gitlab.com/mcdoh/tessellate.git"
|
||||||
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "BSD-2-Clause",
|
"license": "ISC",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://gitlab.com/mcdoh/tessellate/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://gitlab.com/mcdoh/tessellate#README",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"webpack": "~1.12.13",
|
"babel-core": "^6.26.3",
|
||||||
"babel-loader": "~6.2.2",
|
"babel-loader": "^7.1.4",
|
||||||
"babel-core": "~6.5.2",
|
"babel-preset-env": "^1.7.0",
|
||||||
"babel-preset-es2015": "~6.5.0"
|
"webpack": "^4.12.0",
|
||||||
|
"webpack-cli": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,13 +9,23 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
devtool: 'inline-source-map',
|
devtool: 'inline-source-map',
|
||||||
module: {
|
module: {
|
||||||
loaders: [{
|
rules: [
|
||||||
test: path.join(__dirname, 'src'),
|
{
|
||||||
loader: 'babel-loader',
|
test: path.join(__dirname, 'src'),
|
||||||
query: {
|
use: {
|
||||||
presets: ['es2015']
|
loader: 'babel-loader'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}]
|
]
|
||||||
}
|
}
|
||||||
|
// module: {
|
||||||
|
// loaders: [{
|
||||||
|
// test: path.join(__dirname, 'src'),
|
||||||
|
// loader: 'babel-loader',
|
||||||
|
// query: {
|
||||||
|
// presets: ['es2015']
|
||||||
|
// }
|
||||||
|
// }]
|
||||||
|
// }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user