-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lib |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# @bem/feature-flags-webpack-plugin | ||
|
||
## Motivation | ||
|
||
## ✈️ Install | ||
|
||
via npm: | ||
|
||
```sh | ||
npm i -DE @bem/feature-flags-webpack-plugin | ||
``` | ||
|
||
## ☄️ Usage | ||
|
||
```ts | ||
TODO | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "@bem/feature-flags-webpack-plugin", | ||
"version": "1.0.0", | ||
"description": "Webpack plugin for resolving feature flags", | ||
"license": "MPL-2.0", | ||
"homepage": "https://github.com/bem/bem-react/tree/master/packages/feature-flags-webpack-plugin", | ||
"repository": "https://github.com/bem/bem-react", | ||
"bugs": { | ||
"url": "https://github.com/bem/bem-react/issues" | ||
}, | ||
"keywords": ["webpack", "feature-flags", "flags", "feature-toggles"], | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"scripts": { | ||
"build": "tsc", | ||
"unit": "exit 0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "4.1.3" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class FeatureFlagsWebpackPlugin { | ||
apply(_compiler: any) {} | ||
} | ||
|
||
module.exports = FeatureFlagsWebpackPlugin |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"compilerOptions": { | ||
/* Basic Options */ | ||
"rootDir": "./src", | ||
"outDir": "./lib", | ||
"moduleResolution": "node", | ||
"target": "ES2017", | ||
"module": "CommonJS", | ||
"declaration": true, | ||
/* Module Resolution Options */ | ||
"esModuleInterop": true, | ||
/* Strict Type-Checking Options */ | ||
"strict": true, | ||
/* Additional Checks */ | ||
"forceConsistentCasingInFileNames": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true | ||
} | ||
} |