Skip to content

I can't get the css string #58

Open
@cfour-hi

Description

@cfour-hi

Do you want to request a feature or report a bug?

feature

What is the current behavior?

import CSS can not get the string.

import cssString from './index.css';
console.log('cssString', cssString, cssString.toString()); // => cssString [object Object] [object Object]

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

If this is a feature request, what is motivation or use case for changing the behavior?

I want to get the css string.

Please mention other relevant information such as your webpack version, Node.js version and Operating System.

OS: macOS Big Sur
Node.js: 14.17.1
@vue/cli-service: 4.5.13
webpack: 4.46.0
vue-style-loader: 4.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions