- on your repo's root, run :
find . -type f | xargs chmod -x
- commit this change on files :
commit -n -m 'fix: files permission from 100755 to 100644'
- then with
vim .git/config
, setfilemode
option tofalse
[core]
filemode = false
I hereby claim:
To claim this, I am signing this object:
const htmlStandards = require('reshape-standard') | |
const cssStandards = require('spike-css-standards') | |
const jsStandards = require('spike-js-standards') | |
const pageId = require('spike-page-id') | |
const { _ } = require('lodash') | |
const env = process.env.NODE_ENV | |
const entries = Object.assign({}, ..._.map(_.filter(fs.readdirSync('./assets/js/'), file => file.charAt(0) !== '_'), file => | |
_.fromPairs([[`js/${path.parse(file).name}`, `./assets/js/${file}`]]))) |
node_modules |
// this function converts LAMBERT93 coordinates used by IGN to lat / lon coordinates | |
// found here https://gist.github.com/will83/5920606 | |
const toWGS = (x, y) => { | |
const b7 = 298.257222101; | |
const b8 = 1 / b7; | |
const b9 = 2 * b8 - b8 * b8; | |
const b10 = Math.sqrt(b9); | |
const b13 = 3; | |
const b14 = 700000; | |
const b15 = 12655612.0499; |
# ... | |
<Files sw.js> | |
# FileETag None # LIIT : disabled this to check if it allows cdn update | |
# Header unset ETag # LIIT : disabled this to check if it allows cdn update | |
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" | |
Header set Pragma "no-cache" | |
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" | |
</Files> |
first of, npm install --save-dev zepto-webpack
.
Then, in your Webpack config :
// ...
resolve: {
alias: {
ShoelaceDropDowns: path.resolve(__dirname, 'node_modules/shoelace-css/source/js/dropdowns.js'),
ShoelaceTabs: path.resolve(__dirname, 'node_modules/shoelace-css/source/js/tabs.js'),