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
[test]: Update test/* files | |
[dist]: Changes to submodules, version bumps, updates to package.json | |
[minor]: Small changes | |
[doc]: Updates to documentation | |
[fix]: Bug fixes | |
[bin]: Update binary scripts associated with the project | |
[refactor]: Refactor of existing code | |
[nit]: Small code review changes mainly around style or syntax | |
[feat]: New features |
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
# Steps taken from here: https://sethvargo.com/replace-icons-osx/ | |
ls /Applications/Atom.app/Contents/Resources | grep .icns | |
cp ~/.custom-icons/atom.icns /Applications/Atom.app/Contents/Resources/atom.icns | |
touch /Applications/Atom.app | |
sudo killall Finder && sudo killall Finder |
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
{ | |
"name": "", | |
"version": "1.0.0", | |
"description": "", | |
"main": "", | |
"scripts": { | |
"start": "webpack --config webpack.config.js", | |
"build": "webpack -p --config webpack.config.js" | |
}, | |
"keywords": [], |
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
([function(e, t, n) { | |
"use strict"; | |
function r() { | |
console.log("foo called") | |
} | |
// NO MORE BAR :) | |
t.a = r | |
}, function(e, t, n) { | |
"use strict"; |
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
/* 0 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (immutable) */ __webpack_exports__["a"] = foo; | |
/* unused harmony export bar */ | |
function foo() { | |
console.log('foo called'); | |
} |
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
export function foo() { | |
console.log('foo called'); | |
} | |
export function bar() { | |
console.log('bar called'); | |
} |
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
import { foo } from './utils'; | |
foo(); |
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
Show hidden characters
{ | |
"presets": [ | |
[ | |
"env", { | |
"targets": { | |
"browsers": [ | |
"last 2 versions", | |
"safari >= 7" | |
] | |
}, |
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
const webpack = require('webpack'); | |
const path = require('path'); | |
module.exports = { | |
entry: path.resolve(__dirname, 'src/index.js'), | |
output: { | |
filename: 'index.bundle.js', | |
path: path.resolve(__dirname, 'build') | |
}, | |
module: { |
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
import { render } from './script1'; | |
render(); |