Merge commit 'd27216dc4616d80659c0cc5d2a55394e0e1ae874' into glitch-soc/merge-upstream
Conflicts: - `.eslintrc.js`: Upstream moved a configuration block in which we had added a glitch-only path. Moved the configuration block as upstream did. - other files: Upstream reordered imports, and those files had different ones. Kept our version and reordered imports using the same rules.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
// Common configuration for webpacker loaded from config/webpacker.yml
|
||||
|
||||
const { lstatSync, readFileSync } = require('fs');
|
||||
const { basename, dirname, extname, join, resolve } = require('path');
|
||||
const { env } = require('process');
|
||||
const { load } = require('js-yaml');
|
||||
const { lstatSync, readFileSync } = require('fs');
|
||||
|
||||
const glob = require('glob');
|
||||
const { load } = require('js-yaml');
|
||||
|
||||
const configPath = resolve('config', 'webpacker.yml');
|
||||
const settings = load(readFileSync(configPath), 'utf8')[env.RAILS_ENV || env.NODE_ENV];
|
||||
|
Reference in New Issue
Block a user