Skip to content
#

babel-plugin

Here are 534 public repositories matching this topic...

Andarist
Andarist commented Nov 7, 2019

Would be great to provide a documentation section with practical examples on how we propose to handle various popular patterns which usually are solved by pseudo selectors, nested classes etc.

nick-at-hawkfish
nick-at-hawkfish commented Jan 27, 2020

It would be nice to have a babel macro that automatically runs the babel plugin to remove the runtime. That way, this project would work out of the box with "zero" config tools like create-react-app.

I'm thinking it could be something like:

import {html} from 'htm/preact/macro'

This is similar conceptually to CSS-IN-JS libraries providing a macro for their tools. See https://e

akxcv
akxcv commented May 17, 2019

During vuera's existence, there were many issues where people had different hard-to-debug problems trying to get vuera running.
I think it would be helpful if there were an example application with everything set up so that people could reference it in case they have problems.

KeerthanaManoharan
KeerthanaManoharan commented Sep 24, 2018

VSCode not giving auto suggestions of file name inside the directory once we are using alias name with babel module resolver plugin for react native .
I am having .js file inside the path @components but it is simply giving the suggestion as
@components/ showing the suggestion as {} react,{} props,{} react-native

My .babelrc file :
{
"presets": [
"react-native"
],

gajus
gajus commented Jul 17, 2019

Currently, this monorepo consists of:

  • babel-plugin-flow-prepack
  • babel-plugin-flow-runtime
  • flow-config-parser
  • flow-runtime-cli
  • flow-runtime-docs
  • flow-runtime-mobx
  • flow-runtime-validators
  • flow-runtime

A subset of these provide the core functionality of flow-runtime:

  • flow-runtime-validators
  • flow-runtime
  • flow-runtime-cli
  • babel-plugin-flow-runtime

Meanwhile

XenTerSeO
XenTerSeO commented Dec 24, 2017
const HeaderUser = styled.a`
  font-size: 0;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  &:hover {
    border: 0;
    margin-top: -10px;
    padding-top: 7px;
    border-top: 3px solid rgb(255, 255, 255);

    /* ${HeaderAvatar} {
      border: 2px solid rgb(255, 255, 255);
    } */
  }
`

=>

ERROR in ./clie
madou
madou commented Apr 6, 2020

Current usage:

const content = yeah ? 'yeah' : 'nah';
<div
  css={{ content: '"' + content + '"'  }}
>

styled.div({
  content: props => '"' + (props.yeah ? 'yeah' : 'nah') + '"'
})

And it'll work (probably). Would be nice if we didn't need the quotations!

In this ticket make sure that template literal css works great too

styled.div`
  content: ${props => props.c
eldrickb
eldrickb commented Aug 12, 2019

Issue

Create-React-App has a plugin, ModuleScopePlugin, that stops components from accessing files outside /src/. Apparently, when I import tailwind in a component while using a tailwind.config.js in the root of my project, Tailwind can't access it, and I get this error:

./src/App.js
Module not found: You attempted to import ./../tailwind.config.js which falls outside of 
lensbart
lensbart commented Aug 15, 2019

Although graphql will often already be installed in projects using this module, this isn’t necessarily the case (e.g. when sending queries using graphql-request. If graphql is not installed, attempting to use this module will throw the following error:

Error: Cannot find module 'graphql/language'
Require stack:
(...)

which can be fixed by installing graphql.

Improve this page

Add a description, image, and links to the babel-plugin topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the babel-plugin topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.